summaryrefslogtreecommitdiff
path: root/userland/ante/Makefile
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-22 19:50:38 +0200
committerAnton Kling <anton@kling.gg>2023-10-22 19:50:38 +0200
commit4e09bca9e34c226b6d7e34b4fa11248405fd988e (patch)
tree80f156b7940d9d19971395f335530170c69516c7 /userland/ante/Makefile
Move everything into a new repo.
Diffstat (limited to 'userland/ante/Makefile')
-rw-r--r--userland/ante/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/userland/ante/Makefile b/userland/ante/Makefile
new file mode 100644
index 0000000..412b302
--- /dev/null
+++ b/userland/ante/Makefile
@@ -0,0 +1,15 @@
+CC="/home/anton/prj/osdev/sysroot/bin/i686-sb-gcc"
+CFLAGS = -ggdb -O2 -Wall -Wextra -pedantic -static
+LIB=-L../libgui -lgui -lgcc
+INC=-I../libgui/
+BINS=ante
+all: $(BINS)
+
+ante.o: ante.c
+ $(CC) $(CFLAGS) $(INC) $(LIB) -o $@ -c $<
+
+ante: ante.o
+ $(CC) $(CFLAGS) -o $@ $^ $(LIB)
+
+clean:
+ rm $(BINS) *.o