tests/test_list.c: test_list_append
[vlock.git] / tests / Makefile
blob7135eb75c21df7ec4e207b944229d16ddf5cb0af
1 include ../config.mk
3 VPATH = ../src
5 override CFLAGS+=-I../src
7 .PHONY: all
8 all: run-tests
10 vlock-test : LDFLAGS += -lcunit
11 vlock-test: \
12 list.o \
13 test_list.o \
14 vlock-test.o
16 test_list.o: test_list.c test_list.h list.h
18 .PHONY: run-tests
19 run-tests: vlock-test
20 @./vlock-test
22 .PHONY: clean
23 clean:
24 $(RM) vlock-test $(wildcard *.o)