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 >
Wrap
Makefile
|
1992-04-27
|
927b
|
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