source: tags/testbuild/AISC_MKPTPS/Makefile

Last change on this file was 11656, checked in by westram, 11 years ago
  • added dependencies to main-object(s)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1# for variables passed from parent makefile see ../SOURCE_TOOLS/parent_make.txt
2
3.SUFFIXES: .o .cxx .depend
4
5OBJECTS = mkptypes.o
6BINARY = aisc_mkpt
7
8LOCAL_DEFINES=-DSIMPLE_ARB_ASSERT
9LOCAL_MAKEDEPENDFLAGS=$(MAKEDEPENDFLAGS) $(LOCAL_DEFINES)
10
11$(MAIN): $(BINARY)
12
13$(BINARY): $(OBJECTS) $(use_ARB_main)
14        $(LINK_EXECUTABLE) $@ $(use_ARB_main) $(OBJECTS) $(EXECLIBS)
15
16.cxx.o:
17        $(A_CXX) $(cflags) $(cxxflags) $(LOCAL_DEFINES) -c $< $(CXX_INCLUDES) $(POST_COMPILE)
18
19clean:
20        rm -f $(OBJECTS) $(BINARY)
21
22#depends:
23#       @echo "No depends here"
24
25DEPENDS = $(OBJECTS:.o=.depend)
26depends: $(DEPENDS)
27        @cat $(DEPENDS) | grep -v '^#' >>Makefile
28        @rm $(DEPENDS)
29$(DEPENDS): depend.init
30depend.init:
31        $(MAKEDEPEND) $(LOCAL_MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
32.cxx.depend:
33        $(MAKEDEPEND) -f- $(LOCAL_MAKEDEPENDFLAGS) $< 2>/dev/null >$@
34
35
36# DO NOT DELETE THIS LINE -- make depend depends on it.
37
38# Do not add dependencies manually - use 'make depend' in $ARBHOME
39# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main)
40
41mkptypes.o: $(ARBHOME)/INCLUDE/arb_assert.h
42mkptypes.o: $(ARBHOME)/INCLUDE/arb_early_check.h
43mkptypes.o: $(ARBHOME)/INCLUDE/arb_simple_assert.h
44mkptypes.o: $(ARBHOME)/INCLUDE/arbtools.h
45mkptypes.o: $(ARBHOME)/INCLUDE/attributes.h
46mkptypes.o: $(ARBHOME)/INCLUDE/cxxforward.h
47mkptypes.o: $(ARBHOME)/INCLUDE/dupstr.h
48mkptypes.o: $(ARBHOME)/INCLUDE/gccver.h
49mkptypes.o: $(ARBHOME)/INCLUDE/static_assert.h
50mkptypes.o: $(ARBHOME)/INCLUDE/test_global.h
51mkptypes.o: $(ARBHOME)/INCLUDE/test_unit.h
Note: See TracBrowser for help on using the repository browser.