diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-07-09 15:43:10 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-07-09 15:43:10 +0300 |
| commit | 7f1f9ec8e75b3627b795ddecd7e391a5ebe95528 (patch) | |
| tree | 88efbff4d9d64f6589687a59224d245e00975d0d /example/Makefile | |
| parent | 2432cb953afa8ec3063307e3a788d7126b97318b (diff) | |
| download | bcgen-7f1f9ec8e75b3627b795ddecd7e391a5ebe95528.tar.gz bcgen-7f1f9ec8e75b3627b795ddecd7e391a5ebe95528.zip | |
change so that bcode.h and bcode.c are generated
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: |
