diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-08 04:06:24 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-08 04:07:49 -0400 |
commit | de7f97b964462c4ebb72e10500a0afd844793d40 (patch) | |
tree | 6ed7a8eb8bf695466de47a614575966f06534f29 /Makefile | |
parent | 8593074c9a014c24ccb3b22de5b38ff569fec93b (diff) | |
download | libvt100-re2c.tar.gz libvt100-re2c.zip |
add a couple flags to re2cre2c
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,6 +10,9 @@ OPT ?= -g CFLAGS ?= $(OPT) -Wall -Wextra -Werror LDFLAGS ?= $(OPT) -Wall -Wextra -Werror +RE2C ?= re2c +RE2CFLAGS ?= -s --no-generation-date + ALLCFLAGS = $(shell pkg-config --cflags $(LIBS)) $(CFLAGS) ALLLDFLAGS = $(shell pkg-config --libs $(LIBS)) $(LDFLAGS) @@ -35,7 +38,7 @@ $(BUILD)%.o: $(SRC)%.c $(SRC)screen.c: $(SRC)parser.h $(SRC)%.c: $(SRC)%.re - re2c -o $@ $< + $(RE2C) $(RE2CFLAGS) -o $@ $< clean: rm -f $(OUT) $(SOUT) $(OBJ) $(OBJ:$(BUILD)%.o=$(BUILD).%.d) |