summaryrefslogtreecommitdiff
path: root/Tupfile
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-06-09 00:05:25 +0200
committerkdx <kikoodx@paranoici.org>2023-06-09 00:05:25 +0200
commit77d04aa15c9d77e00ec4597375433d93b4cdd9c0 (patch)
tree7d886e34182b0fa4668718d4285b8db1390c5e09 /Tupfile
parentd8335995903014d77ab8ce5833c7ee178616eee7 (diff)
downloadgolem-77d04aa15c9d77e00ec4597375433d93b4cdd9c0.tar.gz
worst calculator ever
Diffstat (limited to 'Tupfile')
-rw-r--r--Tupfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tupfile b/Tupfile
new file mode 100644
index 0000000..4b55aec
--- /dev/null
+++ b/Tupfile
@@ -0,0 +1,10 @@
+CC = gcc
+LD = $(CC)
+CFLAGS = -std=c99 -Wall -Wextra
+LIBS =
+NAME = golem
+
+: foreach src/*.c |> $(CC) $(CFLAGS) -c -o %o %f |> build/%B.o
+: build/*.o |> $(LD) -o %o %f $(LIBS) |> build/$(NAME)
+
+.gitignore