This makes tests more portable. Make variables for LLVM utils are passed to `make` on Darwin as well. Co-authored-by: Vladimir Vereschaka <vvereschaka@accesssoftek.com>
13 lines
242 B
Makefile
13 lines
242 B
Makefile
OBJC_SOURCES := main.m
|
|
LD_EXTRAS := -lobjc -framework Foundation
|
|
|
|
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
|