home *** CD-ROM | disk | FTP | other *** search
/ ftp.freefriends.org / ftp.freefriends.org.tar / ftp.freefriends.org / arnold / Source / 9wm-1.1.shar.gz / 9wm-1.1.shar / Makefile.no-imake < prev    next >
Makefile  |  1995-01-15  |  852b  |  48 lines

  1. #
  2. # This Makefile is provided in case you have no imake, or it
  3. # doesn't work on your system.  Copy this file to "Makefile"
  4. # and edit the variables below to suit your system.  Be sure
  5. # to define whatever compilation flags your system needs, eg
  6. # if you're using AIX, add "-DBSD_INCLUDES" to "CFLAGS".
  7. #
  8.  
  9. CFLAGS = -g -DSHAPE
  10. LDFLAGS = -lXext -lX11
  11. BIN = /usr/bin/X11
  12.  
  13. MANDIR = /usr/man/man1
  14. MANSUFFIX = 1
  15.  
  16. #
  17. # These variables shouldn't need to be changed
  18. #
  19.  
  20. OBJS = 9wm.o manage.o menu.o client.o grab.o cursor.o error.o
  21. HFILES = dat.h fns.h
  22.  
  23. #
  24. # Or these rules either
  25. #
  26.  
  27. all: 9wm
  28.  
  29. 9wm: $(OBJS)
  30.     $(CC) $(CFLAGS) -o 9wm $(OBJS) $(LDFLAGS)
  31.  
  32. install: 9wm
  33.     cp 9wm $(BIN)/9wm
  34.  
  35. install.man:
  36.     cp 9wm.man $(MANDIR)/9wm.$(MANSUFFIX)
  37.  
  38. $(OBJS): $(HFILES)
  39.  
  40. trout: 9wm.man
  41.     troff -man 9wm.man >trout
  42.  
  43. vu: trout
  44.     xditview trout
  45.  
  46. clean:
  47.     rm -f 9wm *.o core bun trout
  48.