summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f3cc93a..b82ea95 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ bins = fspec-info dec2bin xidec xi2path xils xifile uneaf
all: $(bins)
%.c: %.lm
- colm $(COLMFLAGS) -c $^
+ colm $(COLMFLAGS) -c $<
%.c: %.rl
ragel $^
@@ -27,10 +27,11 @@ all: $(bins)
$(bins): %:
$(LINK.c) $(filter %.c %.a,$^) $(LDLIBS) -o $@
+src/compiler/compiler.c: src/compiler/expr.lm src/compiler/types.lm
fspec-compiler-native.a: private CFLAGS = -Wno-unusued-parameter
fspec-compiler-native.a: src/compiler/native.c
fspec-compiler.a: private CFLAGS = -std=c11
-fspec-compiler.a: src/compiler/compiler.c src/compiler/expr.lm src/compiler/types.lm fspec-compiler-native.a
+fspec-compiler.a: src/compiler/compiler.c fspec-compiler-native.a
fspec-info: private LDLIBS += -lcolm
fspec-info: src/bin/fspec-info.c fspec-compiler.a fspec-compiler-native.a