Makefile 324 Bytes
Newer Older
Christophe Rhodes's avatar
Christophe Rhodes committed
1
2
3
4
5
6
7
8
9
10
11
12
include ../../cpp.mk

LDLIBS += -lm

ListVisualiserDriver: CPPFLAGS += -I ../../04/cpp
ListVisualiserDriver: ListVisualiser.o ../../04/cpp/SLList.o ListVisualiserDriver.o
	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) $^ $(LOADLIBES) $(LDLIBS) -o $@

test: ListVisualiserDriver
	./ListVisualiserDriver

.PHONY: test