aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-10-16 21:22:54 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-10-16 21:22:54 -0400
commit44c8bee9ff38e99b74f728541956801cfb673ff2 (patch)
tree544576e4508e9723c5894f89d9c32243bd33999d
parent820252a5e324505481e0da937658cb6946fc279a (diff)
Fix binary name
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index 41b6b49..68d40c4 100644
--- a/makefile
+++ b/makefile
@@ -3,8 +3,8 @@ FLAGS = -g -O0 -Wall -ggdb3 -Wno-parentheses
YACC = yacc
LEX = lex
-mypc: y.tab.o lex.yy.o tree.o scope.o node.o pc.o sem_check.o gen_code.o
- $(CC) $(FLAGS) -o mypc main.o tree.o scope.o sem_check.o gen_code.o node.o y.tab.o lex.yy.o -lfl -ly
+pc: y.tab.o lex.yy.o tree.o scope.o node.o pc.o sem_check.o gen_code.o
+ $(CC) $(FLAGS) -o pc main.o tree.o scope.o sem_check.o gen_code.o node.o y.tab.o lex.yy.o -lfl -ly
pc.o: main.c headers
$(CC) $(FLAGS) -c main.c
@@ -39,7 +39,7 @@ lex.yy.c: pc.l
headers: pc.h tree.h sem_check.h scope.h node.h y.tab.c gen_code.h
clean:
- rm -f mypc *.o y.tab.* lex.yy.*
+ rm -f pc *.o y.tab.* lex.yy.*
tar: headers pc.y pc.l tree.c scope.c node.c pc.c sem_check.c gen_code.c
tar -czf evans_pc.tar.gz -C ../ \