diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-09-26 23:39:48 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-09-26 23:39:48 +0300 |
commit | 4678de15e3f81358e8652ed3054216dc6a5eef5c (patch) | |
tree | fad4bcad622e4b294e3d7b1b33c8a3dbc1680a44 | |
parent | 4cdf3d58e832708671c734de56e0e08496593c61 (diff) |
make: fix colm deps
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |