summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-04-05 19:51:14 +0300
committerNakidai <nakidai@disroot.org>2026-04-05 20:01:32 +0300
commit8afa976e073c7bc29c878230eead6dddfdcc08a1 (patch)
tree044b8ddf87b9a3c8b5a229b27e84e870468fb950 /Makefile
downloadthac-5e9fb4d28f49aa4a17b38f436a63b5a7a764457b.tar.gz
thac-5e9fb4d28f49aa4a17b38f436a63b5a7a764457b.zip
Add code v0.1.0
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}