aboutsummaryrefslogtreecommitdiff
path: root/client/makefile
diff options
context:
space:
mode:
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 $@