diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-08 02:02:41 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-08 03:01:48 -0400 |
commit | 8593074c9a014c24ccb3b22de5b38ff569fec93b (patch) | |
tree | 77f7fad29e0467f97bdffc31d9a2d13b232c7e0f /Makefile | |
parent | 06f385a854302a692f76307853ec2c3e7a2c3c64 (diff) | |
download | libvt100-8593074c9a014c24ccb3b22de5b38ff569fec93b.tar.gz libvt100-8593074c9a014c24ccb3b22de5b38ff569fec93b.zip |
start trying out a re2c-based parser
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -34,11 +34,8 @@ $(BUILD)%.o: $(SRC)%.c $(SRC)screen.c: $(SRC)parser.h -$(SRC)%.c: $(SRC)%.l - $(LEX) -o $@ $< - -$(SRC)%.h: $(SRC)%.l - $(LEX) --header-file=$(<:.l=.h) -o /dev/null $< +$(SRC)%.c: $(SRC)%.re + re2c -o $@ $< clean: rm -f $(OUT) $(SOUT) $(OBJ) $(OBJ:$(BUILD)%.o=$(BUILD).%.d) |