Original commit c60216db15132401ff60c08ccef899321f63b6b6. The test can only run on Darwin because of how it was setup, so I'm enforcing that. Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
14 lines
238 B
Makefile
14 lines
238 B
Makefile
DYLIB_NAME := foo
|
|
DYLIB_CXX_SOURCES := foo.cpp
|
|
CXX_SOURCES := main.cpp
|
|
|
|
all: a.out.stripped
|
|
|
|
include Makefile.rules
|
|
|
|
a.out.stripped: a.out.dSYM
|
|
strip -o a.out.stripped a.out
|
|
ifneq "$(CODESIGN)" ""
|
|
$(CODESIGN) -fs - a.out.stripped
|
|
endif
|