1 #----------------------------------------------------------------------
2 # Fill in the source files to build
3 #----------------------------------------------------------------------
4 # Uncomment line below for debugging shell commands
7 #----------------------------------------------------------------------
8 # Change any build/tool options needed
9 #----------------------------------------------------------------------
11 CFLAGS ?
=-arch
$(ARCH
) -gdwarf-2
-O0
12 CXX ?
= $(shell xcrun
-find clang
++)
16 #----------------------------------------------------------------------
17 # Compile the executable from all the objects (default rule) with no
19 #----------------------------------------------------------------------
20 $(EXE
) : heap_find.
cpp
21 $(CXX
) $(CFLAGS
) -install_name
"@executable_path/libheap.dylib" -dynamiclib
-lobjc heap_find.
cpp -o
"$(EXE)"
23 #----------------------------------------------------------------------
24 # Include all of the makefiles for each source file so we don't have
25 # to manually track all of the prerequisites for each source file.
26 #----------------------------------------------------------------------
30 rm -rf
"$(EXE)" "$(DSYM)"