Makefile
上传用户:tongli126
上传日期:2016-06-25
资源大小:4k
文件大小:0k
源码类别:

iPhone

开发平台:

Objective-C

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