aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-07-23 21:30:47 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-07-23 21:30:47 -0400
commitd8ef3bcc3d410142e359771bbef0ce0bbdc78308 (patch)
treeac2d01286c82ff689c8eb878b7ba8df8d4de5647
parent54a92f688346f0cbd865ad42d8738fee630fd3b3 (diff)
Rename mypc.c -> main.c
-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