home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / gnu / gchsrc31 / atarilib / makefile < prev    next >
Makefile  |  1992-04-27  |  927b  |  24 lines

  1. SRC=doublebu.cc resoluti.cc screen.cc sprite.cc mousepos.cc fastcoun.cc \
  2.             easyspri.cc joystick.cc smallgra.cc ca_pack.cc ca_unpac.cc
  3. ASMSRC=joyisr.s
  4. OBJ=$(subst .cc,.o,$(SRC)) $(subst .s,.o,$(ASMSRC)
  5.  
  6. # WARNING: Sprite.cc may not work _without_ -O, because not enough
  7. # free registers are available for the asm() functions.
  8. CPPFLAGS=-O2
  9.  
  10. LIBRARY=/usr/lib/atari.olb
  11. INC=../include
  12.  
  13. $(LIBRARY): $(OBJ)
  14.     $(AR) r $(LIBRARY) $?
  15.     $(AR) s $(LIBRARY)
  16.  
  17. doublebu.o: doublebu.cc $(INC)/doublebuffer.h $(INC)/screen.h $(INC)/resolution.h 
  18. screen.o: screen.cc $(INC)/screen.h $(INC)/resolution.h 
  19. resoluti.o: resoluti.cc $(INC)/resolution.h 
  20. sprite.o: sprite.cc $(INC)/sprite.h $(INC)/doublebuffer.h $(INC)/screen.h $(INC)/resolution.h 
  21. fastcoun.o : fastcoun.cc $(INC)/FastCounter.h 
  22. easyspri.o : easyspri.cc $(INC)/EasySprite.h $(INC)/Sprite.h $(INC)/Screen.h
  23. joystick.o : joystick.cc $(INC)/Joystick.h JoyISR.h 
  24.