[10954] | 1 | # for variables passed from parent makefile see ../SOURCE_TOOLS/parent_make.txt |
---|
[2] | 2 | |
---|
[6318] | 3 | .SUFFIXES: .o .cxx .depend |
---|
[2] | 4 | |
---|
[18732] | 5 | OBJECTS = $(subst .cxx,.o,$(wildcard *.cxx)) |
---|
[4639] | 6 | BINARY = aisc_mkpt |
---|
[2] | 7 | |
---|
[10148] | 8 | LOCAL_DEFINES=-DSIMPLE_ARB_ASSERT |
---|
| 9 | LOCAL_MAKEDEPENDFLAGS=$(MAKEDEPENDFLAGS) $(LOCAL_DEFINES) |
---|
| 10 | |
---|
[4639] | 11 | $(MAIN): $(BINARY) |
---|
[2] | 12 | |
---|
[11656] | 13 | $(BINARY): $(OBJECTS) $(use_ARB_main) |
---|
[16223] | 14 | $(LINK_EXECUTABLE) $@ $(use_ARB_main) $(OBJECTS) |
---|
[2] | 15 | |
---|
[6318] | 16 | .cxx.o: |
---|
[13443] | 17 | $(A_CXX) $(cflags) $(cxxflags) $(LOCAL_DEFINES) -c $< $(CXX_INCLUDES) $(POST_COMPILE) $< |
---|
[2] | 18 | |
---|
[4639] | 19 | clean: |
---|
| 20 | rm -f $(OBJECTS) $(BINARY) |
---|
| 21 | |
---|
[6865] | 22 | #depends: |
---|
| 23 | # @echo "No depends here" |
---|
[2] | 24 | |
---|
[6865] | 25 | DEPENDS = $(OBJECTS:.o=.depend) |
---|
| 26 | depends: $(DEPENDS) |
---|
| 27 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
| 28 | @rm $(DEPENDS) |
---|
| 29 | $(DEPENDS): depend.init |
---|
| 30 | depend.init: |
---|
[10148] | 31 | $(MAKEDEPEND) $(LOCAL_MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
[6865] | 32 | .cxx.depend: |
---|
[10148] | 33 | $(MAKEDEPEND) -f- $(LOCAL_MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
[6865] | 34 | |
---|
| 35 | |
---|
[2] | 36 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|
| 37 | |
---|
[2338] | 38 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
[9575] | 39 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main) |
---|
[6865] | 40 | |
---|
| 41 | mkptypes.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
[9516] | 42 | mkptypes.o: $(ARBHOME)/INCLUDE/arb_early_check.h |
---|
[10148] | 43 | mkptypes.o: $(ARBHOME)/INCLUDE/arb_simple_assert.h |
---|
[7623] | 44 | mkptypes.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
[7338] | 45 | mkptypes.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
[9516] | 46 | mkptypes.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
[8220] | 47 | mkptypes.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
[9516] | 48 | mkptypes.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
| 49 | mkptypes.o: $(ARBHOME)/INCLUDE/static_assert.h |
---|
[6865] | 50 | mkptypes.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
| 51 | mkptypes.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|