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