aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index 71ae3fc..9a2f51a 100644
--- a/makefile
+++ b/makefile
@@ -4,10 +4,10 @@ YACC = yacc
LEX = lex
mypc: y.tab.o lex.yy.o tree.o hash.o node.o pc.o
- $(CC) $(FLAGS) -o mypc mypc.o tree.o hash.o node.o y.tab.o lex.yy.o -lfl -ly
+ $(CC) $(FLAGS) -o mypc main.o tree.o hash.o node.o y.tab.o lex.yy.o -lfl -ly
-pc.o: mypc.c pc.h
- $(CC) $(FLAGS) -c mypc.c
+pc.o: main.c pc.h
+ $(CC) $(FLAGS) -c main.c
tree.o: tree.c tree.h
$(CC) $(FLAGS) -c tree.c