aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c (renamed from mypc.c)0
-rw-r--r--makefile6
2 files changed, 3 insertions, 3 deletions
diff --git a/mypc.c b/main.c
index 3d1401c..3d1401c 100644
--- a/mypc.c
+++ b/main.c
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