diff options
Diffstat (limited to 'example/Makefile')
| -rw-r--r-- | example/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/example/Makefile b/example/Makefile index 0bce1ec..d9b0158 100644 --- a/example/Makefile +++ b/example/Makefile @@ -5,13 +5,11 @@ all: exec exec: bcode.o main.o $(CC) $(CFLAGS) $^ -o $@ -bcode.o: ../bcode.c +bcode.o: bcode.c $(CC) $(CFLAGS) -c $^ -o $@ -../bcode.c: ../gen/select.h -../gen/select.h: rules.py - cd .. && ./bcgen example/rules.py - touch ../bcode.c # just to get make to wake up +bcode.c: rules.py + ../bcgen rules.py .PHONY: clean clean: |
