# Makefile
CFLAGS += -Ic:/home/project/cunit/include -I. -Ic:/home/project/pdcurses
CFLAGS += -Wall
LDFLAGS += -Lc:/home/project/cunit/lib 
LDLIBS = -lcunit
VPATH = custom/

all: utest.exe
utest.exe: utest.o demo.o custom.o 
	$(CC) -o $@ $^ $(LDFLAGS) $(LOADLIBES) $(LDLIBS)

demo.o utest.o: demo.h

custom.o: custom.h

utest:	
	utest.exe
	
.PHONY: all utest clean

clean:
	-$(RM) utest.exe utest.o demo.o custom.o

