This test streamlines our use of variables that are expected by Makefile.rules throughout the test suite. Mostly it replaced potentially dangerous overrides and updates of variables like CFLAGS with safe assignments to variables reserved for this purpose like CFLAGS_EXTRAS. Differential Revision: https://reviews.llvm.org/D67984 llvm-svn: 372795
15 lines
279 B
Makefile
15 lines
279 B
Makefile
OBJC_SOURCES := static.m
|
|
LD_EXTRAS := -lobjc -framework Foundation
|
|
|
|
default: a.out.stripped
|
|
|
|
a.out.stripped: a.out.dSYM
|
|
strip -o a.out.stripped a.out
|
|
ln -sf a.out.dSYM a.out.stripped.dSYM
|
|
|
|
clean::
|
|
rm -f a.out.stripped
|
|
rm -rf $(wildcard *.dSYM)
|
|
|
|
include Makefile.rules
|