about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..808887a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+OBJS += compile.o
+OBJS += debug.o
+OBJS += lex.o
+OBJS += main.o
+OBJS += parse.o
+OBJS += say.o
+OBJS += str.o
+OBJS += val.o
+OBJS += var.o
+OBJS += vertex.o
+
+all: thac
+
+thac: ${OBJS}
+	${CC} ${LDFLAGS} -o $@ ${OBJS} ${LDLIBS}
+
+${OBJS}: thac.h
+
+clean:
+	rm -f thac ${OBJS}