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>
15 lines
267 B
Makefile
15 lines
267 B
Makefile
C_SOURCES = main.c
|
|
|
|
include Makefile.rules
|
|
|
|
all: a.out.dSYM hide.app/Contents/a.out.dSYM
|
|
|
|
hide.app/Contents/a.out.dSYM:
|
|
mkdir hide.app
|
|
mkdir hide.app/Contents
|
|
mv a.out.dSYM hide.app/Contents
|
|
$(STRIP) -x a.out
|
|
ifneq "$(CODESIGN)" ""
|
|
$(CODESIGN) -fs - a.out
|
|
endif
|