Proper header inclusion.
[swifty.git] / src / raw / test / Makefile
index fba469b..0ea2f98 100644 (file)
@@ -13,6 +13,12 @@ test: test.o test_sw_socket.o test_sw_bind.o test_sw_getsockname.o \
        test_sw_close.o test_dummy.o test_common.o \
        ../swift_raw.o ../swift_list.o
 
+../swift_raw.o: ../swift_raw.c ../include/swift_raw.h
+       make -C .. swift_raw.o
+
+../swift_list.o: ../swift_list.c ../include/swift_list.h
+       make -C .. swift_list.o
+
 clean:
        -rm -f *~ *.o
        -rm -f test