diff options
Diffstat (limited to 'project/common.mk')
-rw-r--r-- | project/common.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/project/common.mk b/project/common.mk index 3dc0727..5818eed 100644 --- a/project/common.mk +++ b/project/common.mk @@ -1,3 +1,26 @@ +Parser/%.lo: $(SOURCE_DIR)/Parser/%.c $(ALL_HEADERS) host.tag tree.tag config.tag + $(CC) -c -o $@ $< $(CFLAGS_SHARED) + +Parser/%.o: $(SOURCE_DIR)/Parser/%.c $(ALL_HEADERS) host.tag tree.tag config.tag + $(CC) -c -o $@ $< $(CFLAGS_STATIC) + +PARSER_SRCS = \ + Parser/acceler.c \ + Parser/bitset.c \ + Parser/firstsets.c \ + Parser/grammar.c \ + Parser/grammar1.c \ + Parser/listnode.c \ + Parser/metagrammar.c \ + Parser/myreadline.c \ + Parser/node.c \ + Parser/parser.c \ + Parser/parsetok.c \ + Parser/pgen.c \ + Parser/tokenizer.c \ + + APP_SRCS = \ COMMON_SRCS = \ + $(PARSER_SRCS) \ |