projects
/
projects.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gnublin
[projects.git]
/
tools
/
make
/
cpp.make
1
# Generic cpp makefile for mBuild build process
2
3
# default parameters
4
CC = g++
5
6
include make.pre
7
8
# All Target
9
all: $(DEPS) $(SOURCE:%.cpp=%.o) $(TARGET)
10
11
# Other Targets
12
clean:
13
-rm *.o
14
-rm $(TARGET)
15
16
.PHONY: all make.post
17
18
%.a: $(SOURCE:%.cpp=%.o)
19
ar r $(TARGET) *.o
20
21
%.so: $(SOURCE:%.cpp=%.o) $(LDLIBS)
22
$(CXX) -shared -o $(TARGET) *.o $(LDLIBS) $(EXTLIB)
23
-include make.post