summaryrefslogtreecommitdiff
path: root/userland/ante/Makefile
diff options
context:
space:
mode:
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