Makefile 362 Bytes
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

CFLAGS= -Wall -O3 
LDFLAGS= -lpthread

UTILSRCS= tcp_connect.c tcp_listen.c config.c weather.c dt_model.c location.c
UTILOBJS= $(UTILSRCS:.c=.o)

all: $(UTILOBJS) utils weather_test

utils: utils.a($(UTILOBJS))

weather_test: weather_test.o weather.o tcp_connect.o

clean:
	rm -rf *.o *.a *.d weather_test

SRCS= $(UTILSRCS) weather_test.c

include ../build.mk