Add src/theme/xbm/parse.c

This commit is contained in:
Johan Malm 2020-06-23 07:17:07 +01:00
parent d80a7b518f
commit f86394a997
7 changed files with 125 additions and 13 deletions

View file

@ -3,13 +3,17 @@ CFLAGS += -I../../include
LDFLAGS += `pkg-config --cflags --libs cairo`
ASAN += -fsanitize=address
PROGS = xbm-tokenize
PROGS = xbm-tokenize xbm-parse
DEP_TOKENIZE = ../../src/common/buf.c ../../src/theme/xbm/tokenize.c
DEP_PARSE = $(DEP_TOKENIZE) ../../src/theme/xbm/parse.c
all: $(PROGS)
xbm-tokenize: xbm-tokenize.c $(DEP_TOKENIZE)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(ASAN)
xbm-parse: xbm-parse.c $(DEP_PARSE)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(ASAN)
clean :
$(RM) $(PROGS)