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