diff options
author | pacien | 2018-05-07 01:33:55 +0200 |
---|---|---|
committer | pacien | 2018-05-07 01:33:55 +0200 |
commit | 15390a3b612562a8f1c995e968cd3b1943375ab9 (patch) | |
tree | 23fdd2a5b680bf18f3505199b11a2e5ed2786271 /makefile | |
parent | 49662d2162ef19a137faf17736fb7641d0b61452 (diff) | |
download | tpc-compiler-15390a3b612562a8f1c995e968cd3b1943375ab9.tar.gz |
Code cleanup and reformating
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -11,7 +11,7 @@ DOC_DIR := doc | |||
11 | LEX_SRC := tpc.lex | 11 | LEX_SRC := tpc.lex |
12 | YACC_SRC := tpc.y | 12 | YACC_SRC := tpc.y |
13 | PDF_SRC := rapport.md | 13 | PDF_SRC := rapport.md |
14 | ST_SRC := symboltable | 14 | ST_SRC := symbol_table |
15 | 15 | ||
16 | # INTERMEDIATE | 16 | # INTERMEDIATE |
17 | LEX_GEN := tpc.yy | 17 | LEX_GEN := tpc.yy |
@@ -41,7 +41,7 @@ test: $(OUT_DIR)/$(FILE_TEST).o | |||
41 | $(OUT_DIR)/$(FILE_TEST).o: $(OUT_DIR)/$(FILE_TEST).asm | 41 | $(OUT_DIR)/$(FILE_TEST).o: $(OUT_DIR)/$(FILE_TEST).asm |
42 | $(ASM) $(AFLAGS) $< -o $@ | 42 | $(ASM) $(AFLAGS) $< -o $@ |
43 | 43 | ||
44 | $(OUT_DIR)/$(FILE_TEST).asm: $(RES_DIR)/$(FILE_TEST).tpc $(OUT_DIR)/$(COMPIL_BIN) | 44 | $(OUT_DIR)/$(FILE_TEST).asm: $(RES_DIR)/$(FILE_TEST).tpc $(OUT_DIR)/$(COMPIL_BIN) |
45 | $(OUT_DIR)/$(COMPIL_BIN) < $< > $@ | 45 | $(OUT_DIR)/$(COMPIL_BIN) < $< > $@ |
46 | 46 | ||
47 | $(OUT_DIR)/$(LEX_GEN).c: $(SRC_DIR)/$(LEX_SRC) | 47 | $(OUT_DIR)/$(LEX_GEN).c: $(SRC_DIR)/$(LEX_SRC) |
@@ -70,4 +70,3 @@ $(OUT_DIR)/$(COMMIT_LOG): | |||
70 | 70 | ||
71 | clean: | 71 | clean: |
72 | rm -rf $(OUT_DIR)/* | 72 | rm -rf $(OUT_DIR)/* |
73 | |||