File: Makefile.common

package info (click to toggle)
libtut 0.0.20070706-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,148 kB
  • ctags: 607
  • sloc: cpp: 3,588; xml: 137; makefile: 61; ansic: 9
file content (22 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TGT=example$(SFX)
OBJS=main$(OFX) test_vector$(OFX) test_set$(OFX) test_auto_ptr$(OFX)

all: $(TGT)

clean: 
	$(RM) $(OBJS) $(TGT)

$(TGT): $(OBJS)
	$(LNK) $(LNKOPTS)$(TGT) $(OBJS)

test_vector$(OFX) : test_vector.cpp
	$(CXX) $(CXXOPTS)test_vector$(OFX) test_vector.cpp 

test_set$(OFX) : test_set.cpp
	$(CXX) $(CXXOPTS)test_set$(OFX) test_set.cpp 

test_auto_ptr$(OFX) : test_auto_ptr.cpp
	$(CXX) $(CXXOPTS)test_auto_ptr$(OFX) test_auto_ptr.cpp 

main$(OFX) : main.cpp
	$(CXX) $(CXXOPTS)main$(OFX) main.cpp