home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume6 / xplumb / part01 / Makefile < prev    next >
Makefile  |  1990-04-11  |  602b  |  24 lines

  1. # Hopefully, the only thing you'll need to change here is TOP, which should
  2. # point to the top of your X11 source tree.  If you want to build based on 
  3. # installed binaries, then you can remove the definition for INCLUDES, and
  4. # make LIBX be "-lX11".
  5.  
  6. TOP = /a12c/X11R4-$$arch
  7. INCLUDES = -I$(TOP)/mit
  8. LIBX = $(TOP)/mit/lib/X/libX11.a
  9. DEFINES = -Dvolatile= -Dsigned=
  10.  
  11. OBJS = main.o init.o screen.o timer.o board.o score.o queue.o piece.o \
  12.     level.o flow.o
  13.  
  14.  
  15. .SUFFIXES: $(.SUFFIXES) .C
  16.  
  17. .C.o: $*.C
  18.     CC -c -g $(INCLUDES) $(DEFINES) $*.C
  19.  
  20.  
  21. plumbing: $(OBJS)
  22.     rm -f plumbing
  23.     CC -o plumbing $(OBJS) $(LIBX)
  24.