diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -16,7 +16,6 @@ LEX_GEN := tpc.yy | |||
16 | YACC_GEN := tpc.tab | 16 | YACC_GEN := tpc.tab |
17 | 17 | ||
18 | # OUTPUT | 18 | # OUTPUT |
19 | PARSER_BIN := tparser | ||
20 | COMPIL_BIN := tcompil | 19 | COMPIL_BIN := tcompil |
21 | COMMIT_LOG := commits.log | 20 | COMMIT_LOG := commits.log |
22 | REPORT_PDF := rapport.pdf | 21 | REPORT_PDF := rapport.pdf |
@@ -30,7 +29,7 @@ LFLAGS := -lfl -ly | |||
30 | IFLAGS += -I$(SRC_DIR) -I$(OUT_DIR) | 29 | IFLAGS += -I$(SRC_DIR) -I$(OUT_DIR) |
31 | 30 | ||
32 | # RULES | 31 | # RULES |
33 | all: clean $(OUT_DIR)/$(PARSER_BIN) | 32 | all: clean $(OUT_DIR)/$(COMPIL_BIN) |
34 | 33 | ||
35 | $(OUT_DIR)/$(LEX_GEN).c: $(SRC_DIR)/$(LEX_SRC) | 34 | $(OUT_DIR)/$(LEX_GEN).c: $(SRC_DIR)/$(LEX_SRC) |
36 | $(LEX) -o $@ $^ | 35 | $(LEX) -o $@ $^ |
@@ -44,7 +43,7 @@ $(OUT_DIR)/$(LEX_GEN).o: $(OUT_DIR)/$(LEX_GEN).c $(OUT_DIR)/$(YACC_GEN).h | |||
44 | $(OUT_DIR)/$(YACC_GEN).o: $(OUT_DIR)/$(YACC_GEN).c | 43 | $(OUT_DIR)/$(YACC_GEN).o: $(OUT_DIR)/$(YACC_GEN).c |
45 | $(CC) -o $@ -c $^ $(IFLAGS) $(LFLAGS) $(CFLAGS) | 44 | $(CC) -o $@ -c $^ $(IFLAGS) $(LFLAGS) $(CFLAGS) |
46 | 45 | ||
47 | $(OUT_DIR)/$(PARSER_BIN): $(OUT_DIR)/$(LEX_GEN).o $(OUT_DIR)/$(YACC_GEN).o | 46 | $(OUT_DIR)/$(COMPIL_BIN): $(OUT_DIR)/$(LEX_GEN).o $(OUT_DIR)/$(YACC_GEN).o |
48 | $(CC) -o $@ $^ $(IFLAGS) $(LFLAGS) $(CFLAGS) | 47 | $(CC) -o $@ $^ $(IFLAGS) $(LFLAGS) $(CFLAGS) |
49 | 48 | ||
50 | $(OUT_DIR)/$(REPORT_PDF): $(DOC_DIR)/$(PDF_SRC) | 49 | $(OUT_DIR)/$(REPORT_PDF): $(DOC_DIR)/$(PDF_SRC) |