summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--parser.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 68ca80d..b40650e 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,8 @@ all: simulator
simulator: simulator.o gate.o logic.o
parser: parser.o gate.o logic.o
+
+
+clean:
+ rm -f parser simulator
+ rm -f *.o
diff --git a/parser.c b/parser.c
index 2f08f46..f3fe38d 100644
--- a/parser.c
+++ b/parser.c
@@ -5,7 +5,7 @@
#include "common.h"
#include "error.h"
#include "logic.h"
-#include "wire.h"
+#include "gate.h"
enum STATEMENT_TYPE {
DECL_EXPR,