merge
authorken <ken@mihrtec.com>
Thu, 15 Dec 2016 22:46:19 +0000 (14:46 -0800)
committerken <ken@mihrtec.com>
Thu, 15 Dec 2016 22:46:19 +0000 (14:46 -0800)
Makefile
src/ir.c [changed mode: 0755->0644]
src/ir.h [changed mode: 0755->0644]
src/lexer_lex.rl [changed mode: 0755->0644]
src/ragraph [changed mode: 0755->0644]

index 50fd45d..d6689db 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,10 +32,10 @@ apc: $(patsubst %.c,%.o,$(cSRC) $(cGEN)) | $(hGEN)
        bison -d $(YFLAGS) $<
 
 cFLAGS = $(strip $(CFLAGS) $(CPPFLAGS) $1 $2 $3 $4 $5 $6 $7 $8 $9)
-GENDEP = $(filter-out $1 \ %:,$(shell $(CC) -MM -MG $1))
+GENDEP = $(filter-out \ %:,$(shell $(CC) -MM -MG $1))
 .SECONDEXPANSION:
-%.o: %.c $$(info $$(call GENDEP,$$(dir $$@)%.c))
+%.o: %.c $$(call GENDEP,$$(dir $$@)%.c)
        $(CC) $(call cFLAGS,-c,-o $@) $<
 
-%-d.o: %.c $$(info $$@DEPS- $$(call GENDEP,$$(dir $$@)%.c)) $$(call GENDEP,$$(dir $$@)%.c)
+%-d.o: $$(call GENDEP,$$(dir $$@)%.c) $$(info [DEPS|$$@] $$(call GENDEP,$$(dir $$@)%.c)) 
        $(CC) $(call cFLAGS,-c,-Og,-ggdb,-o $@) $<
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)