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