aboutsummaryrefslogtreecommitdiff
path: root/client/makefile
blob: a87857a29bed49eb398e4e25b7e2afbd9b23c644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 $@