17 lines · plain
1DYLIB_NAME := foo2DYLIB_CXX_SOURCES := foo.cpp3CXX_SOURCES := main.cpp4 5LD_EXTRAS := -Wl,-rpath "-Wl,$(shell pwd)"6USE_LIBDL :=17 8include Makefile.rules9 10all: a.out.stripped11 12a.out.stripped:13 $(STRIP) -o a.out.stripped a.out14 15ifneq "$(CODESIGN)" ""16 $(CODESIGN) -fs - a.out.stripped17endif