- INCLUDE = -I /usr/local/arm-apple-darwin/include
- CC=/bin/gcc
- CFLAGS=-fsigned-char -Wall -Werror -O7
- LDFLAGS=-Wl,-syslibroot,$(HEAVENLY) -lobjc -framework CoreFoundation
- -framework Foundation -framework UIKit -framework LayerKit
- all: Hello
- Hello: hello.o HelloApplication.o FileTable.o
- $(CC) $(LDFLAGS) -o $@ $^
- %.o: %.m
- $(CC) -c $(CFLAGS) $(INCLUDE) $(CPPFLAGS) $< -o $@
- clean:
- rm -f *.o Hello