[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / lldb / packages / Python / lldbsuite / test / functionalities / fat_archives / Makefile
blob7fed83dc9eb07308a2c1be82aa8e78bd13209a18
1 SRCDIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))/
2 all: a.c clean
3 $(CC) -arch i386 -g -c $(SRCDIR)/a.c
4 ar -q liba-i386.a a.o
5 ranlib liba-i386.a
6 $(CC) -arch x86_64 -g -c $(SRCDIR)/a.c
7 ar -q liba-x86_64.a a.o
8 ranlib liba-x86_64.a
9 lipo -create -output liba.a liba-i386.a liba-x86_64.a
10 $(CC) -g -c $(SRCDIR)/main.c
11 $(CC) -o a.out main.o -L. -la
13 clean:
14 rm -rf a.o a.out liba-i386.a liba-x86_64.a liba.a $(wildcard *un~ .*un~ main.o *.pyc)