aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorpacien2018-05-07 01:33:55 +0200
committerpacien2018-05-07 01:33:55 +0200
commit15390a3b612562a8f1c995e968cd3b1943375ab9 (patch)
tree23fdd2a5b680bf18f3505199b11a2e5ed2786271 /makefile
parent49662d2162ef19a137faf17736fb7641d0b61452 (diff)
downloadtpc-compiler-15390a3b612562a8f1c995e968cd3b1943375ab9.tar.gz
Code cleanup and reformating
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/makefile b/makefile
index 8a6ddb4..d7af548 100644
--- a/makefile
+++ b/makefile
@@ -11,7 +11,7 @@ DOC_DIR := doc
11LEX_SRC := tpc.lex 11LEX_SRC := tpc.lex
12YACC_SRC := tpc.y 12YACC_SRC := tpc.y
13PDF_SRC := rapport.md 13PDF_SRC := rapport.md
14ST_SRC := symboltable 14ST_SRC := symbol_table
15 15
16# INTERMEDIATE 16# INTERMEDIATE
17LEX_GEN := tpc.yy 17LEX_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
71clean: 71clean:
72 rm -rf $(OUT_DIR)/* 72 rm -rf $(OUT_DIR)/*
73