home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume13 / xsokoban2 / part02 / Makefile < prev    next >
Makefile  |  1992-01-13  |  959b  |  33 lines

  1. # Uncomment the first one of this pair only if you are building under an AFS
  2. # environment, and then only if you know exactly what this does.
  3. #CFLAGS = -O -DVICE -I/usr/local/include -I/usr/local/include/res
  4. CFLAGS = -g -I/home/include
  5.  
  6. # Uncomment the first one of this pair only if you are building under an AFS
  7. # environment, and then only if you know exactly what this does.
  8. #LIBS = -L/usr/local/lib -lX11 $(AUTHLIBS) -L/usr/local/lib/res -lresolv
  9. LIBS = -L/home/lib  -lX11 
  10.  
  11. CC = cc
  12.  
  13. OBJECTS = sok.o readscreen.o xdisp.o play.o save.o score.o
  14.  
  15. DEST = /afs/andrew.cmu.edu/usr5/jt1o/bin
  16.  
  17. xsokoban: $(OBJECTS)
  18.     $(CC) $(CFLAGS) -o xsokoban $(OBJECTS) $(LIBS)
  19.  
  20. install: xsokoban
  21.     install -s xsokoban $(DEST)/xsokoban
  22.  
  23. clean :
  24.     rm xsokoban $(OBJECTS)
  25.  
  26. sok.o: sok.c sokoban.h
  27. readscreen.o: readscreen.c sokoban.h
  28. showscreen.o: showscreen.c sokoban.h
  29. play.o: play.c sokoban.h
  30. save.o: save.c sokoban.h
  31. score.o: score.c sokoban.h
  32. xdisp.o: xdisp.c sokoban.h help.h
  33.