home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / games / volume15 / xminesweeper / part01 / Makefile next >
Makefile  |  1993-01-27  |  727b  |  35 lines

  1. PROGRAM= sweeper
  2. SOURCES= sweep.c window.c
  3. INCLUDES= sweep.h window.h
  4. OTHER= MANIFEST TODO sweeper.6 sweeper.icon Makefile
  5. OBJECTS= sweep.o window.o
  6. SCOREFILE= /home/solsta-b/pub/lib/games/sweeper.scores
  7. #SCOREFILE= sweeper.scores
  8. SHARFILE= sweeper.shar
  9.  
  10. CFLAGS=    -I/usr/openwin/include -O -DHIGHSCOREFILE=\"$(SCOREFILE)\"
  11. CCFLAGS=-I/usr/openwin/include -g 
  12. LDFLAGS= -L/usr/openwin/lib -lxview -lolgx -lX11
  13.  
  14. all: $(OBJECTS)
  15.     cc $(CFLAGS) -o $(PROGRAM) $(OBJECTS) $(LDFLAGS)
  16.  
  17. ccenter:
  18.     # load $(SOURCES) $(CCFLAGS) $(LDFLAGS)
  19.     #
  20.  
  21. shar:
  22.     shar $(SOURCES) $(INCLUDES) $(OTHER)> $(SHARFILE)
  23.  
  24. clean:
  25.     /bin/rm -f *.o *.~?~
  26.  
  27. lint:
  28.     lint -I/usr/openwin/include $(SOURCES)
  29.  
  30. sweep.o: sweep.c sweep.h
  31. window.o: window.c window.h sweep.h
  32.  
  33.  
  34.  
  35.