ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/GNUmakefile
Revision: 191
Committed: 2004-08-20T02:44:20-07:00 (20 years, 10 months ago) by Douglas Thrift
File size: 949 byte(s)
Log Message:
Blorg!

File Contents

# Content
1 # Feeping Creaturism
2 #
3 # Douglas Thrift
4 #
5 # $Id$
6
7 menes = $(HOME)/Saurik.com/menes
8 pstreams = $(HOME)/SourceForge.net/pstreams
9 cxxsrc = FeepingCreaturism.cpp Matcher.cpp $(menes)/menes-ext/allocator.cpp \
10 $(menes)/menes-ext/exception.cpp $(menes)/menes-opt/assert.cpp \
11 $(wildcard $(foreach prj, api/execinfo api/posix ios xml, \
12 $(menes)/menes-$(prj)/*.cpp))
13 cxxhdr = $(patsubst %.cpp, %.hpp, ${cxxsrc})
14 cxxobj = $(patsubst %.cpp, object/%.o, ${cxxsrc})
15 cxxdep = $(patsubst %.cpp, object/%.d, ${cxxsrc})
16 exe = FeepingCreaturism
17
18 CXX := g++34
19 CXXFLAGS := -g -O0
20 CPPFLAGS += -DNFINLINE -DNPROFILE -I$(menes) -I$(pstreams)
21 LDLIBS += -lpcre -lexecinfo
22
23 all: ${exe}
24
25 ${exe}: ${cxxobj}
26 $(CXX) $(LDFLAGS) $+ $(LOADLIBES) $(LDLIBS) -o $@
27
28 object/%.o: %.cpp
29 @mkdir -p $(@D)
30 $(CXX) -MP -MD $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
31
32 -include $(cxxdep)
33
34 clean:
35 -rm -rf object ${exe} core $(patsubst %, %.core, ${exe}) \
36 $(patsubst %, %.stackdump, ${exe})

Properties

Name Value
svn:eol-style native
svn:keywords Id