home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / games / gemamigo / src / makefile < prev    next >
Makefile  |  1994-04-29  |  479b  |  22 lines

  1. CFLAGS= -W -O2
  2. CXXFLAGS= -W -I. -O2
  3. LDLIBS=        -lgem++pop -lgem++ -lg++ -lgem
  4. PRG=        gemamigo.prg
  5. SRC=        main.cc amigo.c goplayer.c goplayut.c \
  6.         killable.c gamewin.cc gemui.cc ui.cc viewwin.cc
  7. OBJ=$(subst .c,.o,$(subst .cc,.o,$(SRC)))
  8.  
  9. all: $(PRG)
  10.  
  11. $(PRG): $(OBJ)
  12.     $(LINK) -o $(PRG) $(OBJ) $(LDLIBS)
  13.     fixstk 50K $(PRG)
  14.  
  15. product:
  16.     zip -ar gemamigo.zip gemamigo.prg gemamigo.rs? *.img *.h *.c *.cc readme* todo makefile
  17.  
  18. depend:
  19.     makedep $(CXXFLAGS) $(SRC) >depends
  20.  
  21. include depends
  22.