home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / games / volume13 / xsokoban3 / part02 / Makefile < prev    next >
Makefile  |  1992-02-11  |  1KB  |  34 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/usr/local/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/usr/local/lib  -lX11 
  10.  
  11. CC = gcc
  12.  
  13. OBJECTS = display.o main.o resources.o play.o score.o screen.o save.o
  14.  
  15. DEST = /usr/tmp
  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. # DO NOT DELETE THIS LINE -- make depend depends on it.
  26.  
  27. display.o: display.c globals.h defaults.h help.h externs.h
  28. main.o: main.c globals.h options.h errors.h externs.h
  29. play.o: play.c globals.h externs.h
  30. resources.o: resources.c globals.h externs.h
  31. screen.o: screen.c globals.h externs.h
  32. score.o: score.c globals.h externs.h
  33. save.o: save.c globals.h externs.h
  34.