home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume19 / xblockbuster / part03 / Imakefile < prev    next >
Encoding:
Makefile  |  1993-04-28  |  1.2 KB  |  42 lines

  1. XCOMM $XConsortium: Imakefile,v 1.9 91/07/16 23:06:01 gildea Exp $
  2. /*     BINDIR = /usr/games/
  3. */
  4.        FONT    = -DFONT=\"10x20\"
  5. /*     MANDIR = /usr/local/man/man6
  6. */
  7.       MANSUFFIX = 6
  8. /*
  9.        STAGEDIR = /usr/games/lib/xblockbuster
  10. */
  11. #ifndef STAGEDIR
  12. #define STAGEDIR = LIBDIR
  13. #endif
  14.  
  15.     DEFINES = $(FONT) -DSTAGEDIR=\"$(STAGEDIR)\"
  16.         DEPLIBS = $(DEPXLIB)
  17. LOCAL_LIBRARIES = $(XLIB)
  18.           SRCS1 = balls_pallet.c bricks.c deflection.c save.c score.c stage.c \
  19.             xblockbuster.c
  20.           OBJS1 = balls_pallet.o bricks.o deflection.o save.o score.o stage.o \
  21.             xblockbuster.o
  22.       SRCS2 = stagemm.c
  23.       OBJS2 = stagemm.o
  24.        PROGRAMS = xblockbuster stagemm
  25.  
  26. ComplexProgramTarget_1(xblockbuster,$(LOCAL_LIBRARIES),-lm)
  27. SingleProgramTarget(stagemm,$(OBJS2), NullParameter, NullParameter)
  28. InstallAppDefaults(XBlockbuster)
  29. InstallManPage(xblockbuster, $(MANDIR))
  30. InstallManPage(stagemm, $(MANDIR))
  31. InstallProgram(stagemm, $(BINDIR))
  32. /*
  33.   There must be a better way of doing this install, other than listing
  34.   the 40 or so files and doing a InstallMultiple.
  35. */
  36. install::
  37.     MakeDir($(STAGEDIR))
  38.     cp -r STAGES* $(STAGEDIR)
  39.     chmod 666 $(STAGEDIR)/STAGES*/scores
  40.     chmod 777 $(STAGEDIR)/STAGES*/save
  41.  
  42.