aboutsummaryrefslogtreecommitdiff
path: root/confui/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-12-01 14:53:37 +0100
committerlonkaars <loek@pipeframe.xyz>2022-12-01 14:53:37 +0100
commit2f5d58c7eae101c3803a63ca11315aec5cd6e1f0 (patch)
treed7167064cbada7474e8c762ce5794038e5e9ba99 /confui/makefile
parent390726a83913552e63d4499d216ea6f370d6adad (diff)
folder restructure of confui
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 $@