home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-04-27 | 927 b | 24 lines |
- SRC=doublebu.cc resoluti.cc screen.cc sprite.cc mousepos.cc fastcoun.cc \
- easyspri.cc joystick.cc smallgra.cc ca_pack.cc ca_unpac.cc
- ASMSRC=joyisr.s
- OBJ=$(subst .cc,.o,$(SRC)) $(subst .s,.o,$(ASMSRC)
-
- # WARNING: Sprite.cc may not work _without_ -O, because not enough
- # free registers are available for the asm() functions.
- CPPFLAGS=-O2
-
- LIBRARY=/usr/lib/atari.olb
- INC=../include
-
- $(LIBRARY): $(OBJ)
- $(AR) r $(LIBRARY) $?
- $(AR) s $(LIBRARY)
-
- doublebu.o: doublebu.cc $(INC)/doublebuffer.h $(INC)/screen.h $(INC)/resolution.h
- screen.o: screen.cc $(INC)/screen.h $(INC)/resolution.h
- resoluti.o: resoluti.cc $(INC)/resolution.h
- sprite.o: sprite.cc $(INC)/sprite.h $(INC)/doublebuffer.h $(INC)/screen.h $(INC)/resolution.h
- fastcoun.o : fastcoun.cc $(INC)/FastCounter.h
- easyspri.o : easyspri.cc $(INC)/EasySprite.h $(INC)/Sprite.h $(INC)/Screen.h
- joystick.o : joystick.cc $(INC)/Joystick.h JoyISR.h
-