Download this file

15 lines (11 with data), 296 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# build dual marching cubes example app
ROOTDIR := ../..
TARGET := $(ROOTDIR)/dmc
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