ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/GNUmakefile
Revision: 223
Committed: 2004-09-06T01:58:43-07:00 (20 years, 9 months ago) by Douglas Thrift
File size: 1159 byte(s)
Log Message:
Moved most of the output stuff to XSL/T.

File Contents

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

Properties

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