aboutsummaryrefslogtreecommitdiff
path: root/confui/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'confui/makefile')
-rw-r--r--confui/makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/confui/makefile b/confui/makefile
new file mode 100644
index 0000000..20a7c7e
--- /dev/null
+++ b/confui/makefile
@@ -0,0 +1,14 @@
+all: confui
+
+ifeq ($(wildcard confui.mk),)
+confui.mk:
+ qmake confui.pro -o confui.mk
+endif
+
+include confui.mk
+
+OBJECTS += $(patsubst %.c,%.o, $(wildcard ../shared/*.c))
+confui: $(OBJECTS)
+
+../shared/%.o: ../shared/%.c
+ $(CC) -c $(CFLAGS) -w $< -o $@