1DYLIB_NAME := foo
2DYLIB_CXX_SOURCES := foo.cpp
3CXX_SOURCES := main.cpp
4
5LD_EXTRAS := -Wl,-rpath "-Wl,$(shell pwd)"
6USE_LIBDL :=1
7
8include Makefile.rules
9
10all: a.out.stripped
11
12a.out.stripped:
13	strip -o a.out.stripped a.out
14
15ifneq "$(CODESIGN)" ""
16	$(CODESIGN) -fs - a.out.stripped
17endif