Download this file

15 lines (11 with data), 285 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# build gentables app
ROOTDIR := ../..
TARGET := $(ROOTDIR)/gentables
include ${ROOTDIR}/Makefile.inc
CXXFLAGS += -I${ROOTDIR}/include
SOURCES := $(wildcard [^_]*.cpp)
${TARGET}: ${SOURCES:.cpp=.o}
$(LINK) $^ $(LDLIBS) -o $@
clean:
${RM} ${TARGET} *.o Makefile.dep
.PHONY: clean