File: Makefile.common

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

HEADERS=../../tut/tut.hpp

all: $(TGT)

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

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

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

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

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

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