From 4678de15e3f81358e8652ed3054216dc6a5eef5c Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Wed, 26 Sep 2018 23:39:48 +0300 Subject: make: fix colm deps --- Makefile | 5 +++-- 1 file 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 -- cgit v1.2.3