home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
MAXMAILP.ZIP
/
MAKEFILE.OS2
< prev
next >
Wrap
Text File
|
1991-01-04
|
1KB
|
44 lines
# Maxmailp ( OS2 VERSION ONLY ) makefile, for use with Nmake only!
# To produce a `.cbj' file from a `.c' file using MS-C.
#.c.cbj:; cl /A$(MODEL) /FR$*.sbr /Fo$*.cbj /c $(CFLAGS) $<
.c.cbj:; cl /A$(MODEL) /Zp1 /Fo$*.cbj /c /Lp $(CFLAGS) $<
# Insert ----------------> /Zi here for Code View Debugging
# /Lp is for protected mode
# common macros used. Must use Large Model for OS/2 and interfacing
# with my Com Routine library (GATE.LIB).
MODEL = L
AFLAGS =
LFLAGS = GATE + /NOD:LLIBCE + LLIBCEP /B /STACK:15360
# Insert ------------/CO here for Code View Link
CFLAGS = /DOS2 /Od $(COPTS)
MAPFIL = NUL
MAKE_TMP= $(TEMP)
OBJS1 = maxmailp.cbj msghelp.cbj
OBJS2 = init.cbj file.cbj config.cbj
OBJS3 = misc.cbj maxlib.cbj
OBJS = $(OBJS1) $(OBJS2) $(OBJS3)
INC1 = maxmail.h globals.h
INC2 = protos.h
INCS = $(INC1) $(INC2)
all : maxmailp.exe
maxmailp.exe : $(OBJS) makefile
link @<<
$(OBJS1)+
$(OBJS2)+
$(OBJS3)
maxmailp
$(MAPFIL)
$(LFLAGS);
<<
$(OBJS) : $(INCS)