home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_01
/
cmenu.exe
/
MAKEFILE.UNX
< prev
next >
Wrap
Text File
|
1991-10-17
|
1KB
|
50 lines
#
# Make file for CMENU Menu compiler system
# For use with Unix/Xenix
#
CC = cc
# Configuration options:
# Uncomment only one of the following two lines, XENIX for XENIX only,
# UNIX for any non-XENIX system:
#SYSTEM = UNIX
SYSTEM = XENIX
# uncomment one only (first works for XENIX, second for most others):
CULIBS = -ltcap -ltermcap
#CULIBS = -lcurses -ltermcap
# uncomment only ONE of the following 2 lines. The first will
# compile the included strstr() definition, the second will cause
# the library version of strstr() to be used.
NEEDSTR = -DNEEDSTR
#NEEDSTR =
#
# From this point on, no changes should be necessary.
#
COPTS = -D$(SYSTEM)=1 $(NEEDSTR)
CFILES = cmenu1.o cmenu2.o cmenu3.o
RFILES = rmenu1.o rmenu2.o rmenu3.o rmenu4.o
all: cmenu rmenu dmenu
.c.o:
$(CC) -c $(COPTS) $<
cmenu: $(CFILES)
$(CC) -o $@ $(CFILES)
rmenu: $(RFILES)
$(CC) -o $@ $(RFILES) $(CULIBS)
dmenu: dmenu.c cmenu.h
$(CC) $(COPTS) -o dmenu dmenu.c
$(CFILES): ccmenu.h cmenu.h
$(RFILES): rcmenu.h cmenu.h