diff Makefile @ 2:b15128ab0324

Fix dpp2 for cbc using LLVM 3.7
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Wed, 16 Dec 2015 17:16:29 +0900
parents 2874954d97b2
children 6bf69a0f2e24
line wrap: on
line diff
--- a/Makefile	Wed Dec 16 16:52:16 2015 +0900
+++ b/Makefile	Wed Dec 16 17:16:29 2015 +0900
@@ -1,14 +1,13 @@
 CC=clang
 MCC=cbc-clang
 TARGET=dpp dpp2 tableau tableau2 tableau3
-MCCFLAGS=-S
+MCCFLAGS=-S -c
 CFLAGS=-I. -g -Wall
 
 .SUFFIXES:	.cbc .c .o
 
 .cbc.o:
 	$(MCC) $(MCCFLAGS) $<
-	$(CC) $(CFLAGS) -o $@ -c $(<:.cbc=.s)
 
 all: $(TARGET)
 
@@ -61,20 +60,20 @@
 dpp2.o: dpp2.h queue.h dpp.h state_db.h scheduler.h
 main.o: dpp.h
 queue.o: queue.h dpp.h state_db.h
-scheduler.o: /usr/include/stdio.h /usr/include/features.h
-scheduler.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
-scheduler.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
-scheduler.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
-scheduler.o: /usr/include/libio.h /usr/include/_G_config.h
-scheduler.o: /usr/include/wchar.h /usr/include/bits/wchar.h
-scheduler.o: /usr/include/gconv.h /usr/include/bits/stdio_lim.h
-scheduler.o: /usr/include/bits/sys_errlist.h /usr/include/stdlib.h
-scheduler.o: /usr/include/sys/types.h /usr/include/time.h
-scheduler.o: /usr/include/endian.h /usr/include/bits/endian.h
-scheduler.o: /usr/include/sys/select.h /usr/include/bits/select.h
-scheduler.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
-scheduler.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
-scheduler.o: /usr/include/alloca.h dpp2.h queue.h dpp.h state_db.h
+#scheduler.o: /usr/include/stdio.h /usr/include/features.h
+#scheduler.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
+#scheduler.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+#scheduler.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
+#scheduler.o: /usr/include/libio.h /usr/include/_G_config.h
+#scheduler.o: /usr/include/wchar.h /usr/include/bits/wchar.h
+#scheduler.o: /usr/include/gconv.h /usr/include/bits/stdio_lim.h
+#scheduler.o: /usr/include/bits/sys_errlist.h /usr/include/stdlib.h
+#scheduler.o: /usr/include/sys/types.h /usr/include/time.h
+#scheduler.o: /usr/include/endian.h /usr/include/bits/endian.h
+#scheduler.o: /usr/include/sys/select.h /usr/include/bits/select.h
+#scheduler.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
+#scheduler.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
+#scheduler.o: /usr/include/alloca.h dpp2.h queue.h dpp.h state_db.h
 tableau.o: /usr/include/stdlib.h /usr/include/features.h
 tableau.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
 tableau.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
@@ -85,19 +84,19 @@
 tableau.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
 tableau.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
 tableau.o: /usr/include/alloca.h dpp2.h queue.h dpp.h state_db.h memory.h
-memory.o: /usr/include/stdio.h /usr/include/features.h
-memory.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
-memory.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
-memory.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
-memory.o: /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h
-memory.o: /usr/include/bits/wchar.h /usr/include/gconv.h
-memory.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
-memory.o: /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h
-memory.o: /usr/include/endian.h /usr/include/bits/endian.h
-memory.o: /usr/include/sys/select.h /usr/include/bits/select.h
-memory.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
-memory.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
-memory.o: /usr/include/alloca.h memory.h crc32.h /usr/include/string.h
+#memory.o: /usr/include/stdio.h /usr/include/features.h
+#memory.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
+#memory.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
+#memory.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
+#memory.o: /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h
+#memory.o: /usr/include/bits/wchar.h /usr/include/gconv.h
+#memory.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
+#memory.o: /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h
+#memory.o: /usr/include/endian.h /usr/include/bits/endian.h
+#memory.o: /usr/include/sys/select.h /usr/include/bits/select.h
+#memory.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
+#memory.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
+#memory.o: /usr/include/alloca.h memory.h crc32.h /usr/include/string.h
 queue.o: dpp.h state_db.h
 state_db.o: /usr/include/stdlib.h /usr/include/features.h
 state_db.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h