makefile 377 B

1234567891011121314151617181920212223242526272829
  1. CFLAGS = -g -Wall
  2. EXES = qcc
  3. all: $(EXES)
  4. install:
  5. make app
  6. cp $(EXES) /LocalApps
  7. app:
  8. make "CFLAGS = -O4 -g -Wall -arch i386 -arch hppa"
  9. debug:
  10. make "CFLAGS = -g -Wall"
  11. profile:
  12. make "CFLAGS = -pg -Wall"
  13. clean:
  14. rm -f *.o $(EXES)
  15. .c.o: ; cc -c $(CFLAGS) -o $@ $*.c
  16. QCCFILES = qcc.o pr_lex.o pr_comp.o cmdlib.o
  17. qcc : $(QCCFILES)
  18. cc $(CFLAGS) -o qcc $(QCCFILES)