You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.osx 475B

1234567891011121314151617181920212223242526
  1. #DBG += -g
  2. #DBG += -pg
  3. CC = gcc
  4. CFLAGS = -O2 -Wall -I/Library/Frameworks/SDL.framework/Headers $(DBG)
  5. LDFLAGS += -framework SDL -framework Cocoa -o $@ -lavahi-client
  6. all: sdlbomber
  7. sdlbomber: gfx.o bomber.o sound.o SDLMain.o announce.o
  8. SDLMain.o: SDLmain.m
  9. bomber.o: bomber.c bomber.h gfx.h sound.h announce.h
  10. gfx.o: gfx.c bomber.h gfx.h
  11. sound.o: sound.c bomber.h sound.h
  12. announce.o: announce.c announce.h
  13. clean:
  14. rm -f *.o sdlbomber matcher
  15. test: all
  16. ./sdlbomber