Files
clang-p2996/lldb/test/API/macosx/find-app-in-bundle/Makefile
Adrian Prantl 7e825abd57 Repair support for launching ios/tv/watch simulator binaries through platform
and delete a bunch (but not all) redundant code. If you compare the remaining implementations of Platform*Simulator.cpp, there is still an obvious leftover cleanup task.

Specifically, this patch

- removes SDK initialization from dotest (there is equivalent but more
  complete code in Makefile.rules)

- make Platform*Simulator inherit the generic implementation of
  PlatformAppleSimulator (more can be done here)

- simplify the platform logic in Makefile.rules

- replace the custom SDK finding logic in Platform*Simulator with XcodeSDK

- adds a test for each supported simulator

Differential Revision: https://reviews.llvm.org/D81980
2020-06-19 09:42:44 -07:00

14 lines
322 B
Makefile

C_SOURCES := main.c
EXE := TestApp
all: clean TestApp.app/Contents/MacOS/TestApp
include Makefile.rules
TestApp.app/Contents/MacOS/TestApp: $(EXE) $(DSYM)
cp -r $(SRCDIR)/TestApp.app .
mv TestApp TestApp.app/Contents/MacOS/TestApp
mv TestApp.dSYM TestApp.app.dSYM
clean::
rm -rf $(EXE) TestApp.app TestApp.app.dSYM