aboutsummaryrefslogtreecommitdiff
path: root/nuklear/demo/x11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuklear/demo/x11/Makefile')
-rw-r--r--nuklear/demo/x11/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/nuklear/demo/x11/Makefile b/nuklear/demo/x11/Makefile
new file mode 100644
index 0000000..0570089
--- /dev/null
+++ b/nuklear/demo/x11/Makefile
@@ -0,0 +1,13 @@
+# Install
+BIN = zahnrad
+
+# Flags
+CFLAGS = -std=c89 -pedantic -O2
+
+SRC = main.c
+OBJ = $(SRC:.c=.o)
+
+$(BIN):
+ @mkdir -p bin
+ rm -f bin/$(BIN) $(OBJS)
+ $(CC) $(SRC) $(CFLAGS) -D_POSIX_C_SOURCE=200809L -o bin/$(BIN) -lX11 -lm