- CC=/usr/local/bin/arm-apple-darwin-gcc
- LD=$(CC)
- LDFLAGS=-lobjc -framework CoreFoundation -framework Foundation -framework UIKit -framework LayerKit
- -framework CoreGraphics -framework CoreSurface -framework GraphicsServices
- all: FileManager
- FileManager: Main.o FileManager.o MainView.o MyTable.o DeletableCell.o Util.o
- $(LD) $(LDFLAGS) -o $@ $^
- %.o: %.m
- $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
- clean:
- rm -f *.o FileManager