Proper header inclusion.
[swifty.git] / src / raw / test / Makefile
1 CPPFLAGS = -DDEBUG -DLOG_LEVEL=LOG_DEBUG -I. -I.. -I../include
2 #CPPFLAGS = -I. -I.. -I../include
3 CFLAGS = -Wall -g
4
5 .PHONY: all clean
6
7 all: test
8
9 test: test.o test_sw_socket.o test_sw_bind.o test_sw_getsockname.o \
10         test_sw_sendto.o test_sw_recvfrom.o \
11         test_sw_sendmsg.o test_sw_recvmsg.o \
12         test_sw_setsockopt.o test_sw_getsockopt.o \
13         test_sw_close.o test_dummy.o test_common.o \
14         ../swift_raw.o ../swift_list.o
15
16 ../swift_raw.o: ../swift_raw.c ../include/swift_raw.h
17         make -C .. swift_raw.o
18
19 ../swift_list.o: ../swift_list.c ../include/swift_list.h
20         make -C .. swift_list.o
21
22 clean:
23         -rm -f *~ *.o
24         -rm -f test