aboutsummaryrefslogtreecommitdiff
path: root/client/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-30 20:33:41 +0100
committerlonkaars <loek@pipeframe.xyz>2022-10-30 20:33:41 +0100
commitea9463c3ba9335bc3d04dd04502ab9e67e8a718c (patch)
treede55f4b03eba50533f6dd220c31d50fa4239d94a /client/makefile
parentc0eeae6901572be2469ab61620c39cd2d3b2cb58 (diff)
finish merge
Diffstat (limited to 'client/makefile')
-rw-r--r--client/makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/client/makefile b/client/makefile
new file mode 100644
index 0000000..a87857a
--- /dev/null
+++ b/client/makefile
@@ -0,0 +1,14 @@
+all: client
+
+ifeq ($(wildcard client.mk),)
+client.mk:
+ qmake client.pro -o client.mk
+endif
+
+include client.mk
+
+OBJECTS += $(patsubst %.c,%.o, $(wildcard ../shared/*.c))
+client: $(OBJECTS)
+
+../shared/%.o: ../shared/%.c
+ $(CC) -c $(CFLAGS) -w $< -o $@