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.DOS
< prev
next >
Wrap
Text File
|
1991-10-07
|
1KB
|
47 lines
#
# Make file for CMENU Menu compiler system (DOS version)
# Developed under Borland C++, but written portably
#
CC = bcc # command-line compiler name
# uncomment only ONE of the following 2 lines:
#DEBUG = -v # enable embedded Turbo Debugger info
DEBUG = # disable debugging
# Borland-specific stuff (set to null if not)
WILDCARD = wildargs.obj # links in Borland wildcard expansion
SHUTUP = -w-pia # supress obnoxious warnings
CULIBS = tscurses.lib # curses libraries
# uncomment only ONE of the following 2 lines:
#NEEDSTR = -DNEEDSTR # compile strstr() definition in the program
NEEDSTR = # use library version of strstr()
#
# From this point on, no changes should be necessary.
#
COPTS = -A -DDOS=1 $(DEBUG) $(SHUTUP) $(NEEDSTR)
CFILES = cmenu1.obj cmenu2.obj cmenu3.obj
RFILES = rmenu1.obj rmenu2.obj rmenu3.obj rmenu4.obj
all: cmenu.exe rmenu.exe dmenu.exe
.c.obj: # For non-Borland MAKE, you may need to
$(CC) -c $(COPTS) {$< } # substitute "$*.c" for "{$< }"
cmenu.exe: $(CFILES)
$(CC) $(DEBUG) -ecmenu $(CFILES) $(WILDCARD)
rmenu.exe: $(RFILES)
$(CC) $(DEBUG) -ermenu $(RFILES) $(CULIBS)
dmenu.exe: dmenu.c cmenu.h
$(CC) $(COPTS) -edmenu dmenu.c
$(CFILES): ccmenu.h cmenu.h makefile
$(RFILES): rcmenu.h cmenu.h makefile