xref: /llvm-project-15.0.7/lldb/test/API/functionalities/fat_archives/Makefile (revision 7e825abd)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1all: clean $(EXE)
2
3include Makefile.rules
4
5$(EXE): a.c clean
6		$(CC) -isysroot "$(SDKROOT)" -arch i386 -g -c $(SRCDIR)/a.c
7		ar -q liba-i386.a a.o
8		ranlib liba-i386.a
9		$(CC) -isysroot "$(SDKROOT)" -arch x86_64 -g -c $(SRCDIR)/a.c
10		ar -q liba-x86_64.a a.o
11		ranlib liba-x86_64.a
12		lipo -create -output liba.a liba-i386.a liba-x86_64.a
13		$(CC) -isysroot "$(SDKROOT)" -g -c $(SRCDIR)/main.c
14		$(CC) -isysroot "$(SDKROOT)" -o a.out main.o -L. -la
15
16clean::
17		rm -rf a.o a.out liba-i386.a liba-x86_64.a liba.a $(wildcard *un~ .*un~ main.o *.pyc)
18
19

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025