home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cnradv.zip
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1993-10-26
|
3KB
|
64 lines
###########################################################################
# #
# MAKE FILE FOR CNRADV.EXE #
# #
# NOTES: #
# #
# To enable the C Set/2 memory management debugging code, uncomment the #
# DEBUGALLOC macro. The debugging info will be sent to CNRADV.DBG. #
# #
# HISTORY: #
# #
# 11-30-92 - copied from CNRMENU.EXE sample. #
# added icons as dependencies of .res file. #
# added drag.c to build list. #
# added draw.c to build list. #
# 06-06-93 - took out $* from dependencies for Borland Make compatibility#
# 07-19-93 - took out dependency on folder.ico - WinLoadFileIcon bugfix #
# #
# Rick Fishman #
# Code Blazers, Inc. #
# 4113 Apricot #
# Irvine, CA. 92720 #
# CIS ID: 72251,750 #
# #
###########################################################################
#DEBUGALLOC=-D__DEBUG_ALLOC__
BASE=cnradv
CFLAGS=/Q+ /Ss /W3 /Kbcepr /Gm+ /Gd- /Ti+ /O- $(DEBUGALLOC) /C
LFLAGS=/NOI /NOE /MAP /DE /NOL /A:16 /EXEPACK /BASE:65536
.SUFFIXES: .c
.c.obj:
icc $(CFLAGS) $*.c
OFILES=$(BASE).obj create.obj populate.obj common.obj ctxtmenu.obj edit.obj \
sort.obj drag.obj draw.obj
LFILES=$(OFILES:.obj=)
$(BASE).exe: $(OFILES) $(BASE).res $(BASE).def
link386 $(LFLAGS) $(LFILES),,, os2386, $*
rc $*.res $@
$(BASE).res: $(BASE).rc $(BASE).ico cnrbgd.bmp $(BASE).h makefile
rc -r $*
$(BASE).obj: $(BASE).c $(BASE).h makefile
create.obj: create.c $(BASE).h makefile
common.obj: common.c $(BASE).h makefile
populate.obj: populate.c $(BASE).h makefile
ctxtmenu.obj: ctxtmenu.c $(BASE).h makefile
edit.obj: edit.c $(BASE).h makefile
sort.obj: sort.c $(BASE).h makefile
drag.obj: drag.c $(BASE).h makefile
draw.obj: draw.c $(BASE).h makefile
###########################################################################
# E N D O F S O U R C E #
###########################################################################