source: tags/ms_r16q3/ptpan/Makefile

Last change on this file was 13443, checked in by westram, 10 years ago
File size: 1.1 KB
Line 
1.SUFFIXES: .o .cxx .depend
2OBJECTS = $(subst .cxx,.o,$(wildcard *.cxx)) 
3
4# --------------------------------------------------------------------------------
5
6$(MAIN): $(OBJECTS) Makefile
7        $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS) 
8
9$(OBJECTS): Makefile
10
11.cxx.o:
12        $(A_CXX) $(cflags) $(cxxflags) -c $<  $(CXX_INCLUDES) $(POST_COMPILE) $<
13
14proto:
15        @echo Nothing to do for proto here 
16
17clean:
18        rm -f $(OBJECTS) *.a
19
20DEPENDS = $(OBJECTS:.o=.depend)
21depends: $(DEPENDS)
22        @cat $(DEPENDS) | grep -v '^#' >>Makefile
23        @rm $(DEPENDS)
24$(DEPENDS): depend.init
25depend.init:
26        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
27        -@rm Makefile.bak # get rid of bak (generated for some dubious reason only in this directory)
28.cxx.depend:
29        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
30
31# DO NOT DELETE THIS LINE -- make depend depends on it.
32
33# Do not add dependencies manually - use 'make depend' in $ARBHOME
34# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main)
35
36PTP_main.o: $(ARBHOME)/INCLUDE/arb_assert.h
37PTP_main.o: $(ARBHOME)/INCLUDE/arb_core.h
38PTP_main.o: $(ARBHOME)/INCLUDE/dupstr.h
39PTP_main.o: $(ARBHOME)/INCLUDE/test_global.h
Note: See TracBrowser for help on using the repository browser.