home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
PCBM102.ZIP
/
SOURCES.ZIP
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1994-01-22
|
2KB
|
92 lines
#
# Makefile (MS-Quick-C 2.51 + NMake)
# ----------------------------------
#
CC = qcl
AS = masm
LK = qlink
ASFLAGS = /mx
# codeview :
#CFLAGS = /AL /c /Zi /Od
CFLAGS = /AL /c /Ox
# codeview :
#LKFLAGS = /NOI /B /F /CO /PACKC /ST:8192
LKFLAGS = /NOI /B /F /PACKC /ST:8192
LKLIB =
# /Ox /W1
#
.asm.obj:
$(AS) $(ASFLAGS) $*.asm;
.c.obj:
$(CC) $(CFLAGS) $*.c
all : install.exe pcbmove.exe
# complete ZIP
zip:
del sources.zip
pkzip sources.zip *.h *.c make*.* *.ini
del english.zip
pkzip english english\*.doc english\*.err
del pcbmove.zip
pkzip pcbmove.zip pcbmove.cfg *.doc pcbmove.exe *.err english.* file_id.diz \
copying sources.zip
# complete ZIP for american BBS
zipus:
del sources.zip
pkzip sources.zip *.h *.c make*.* *.ini
del english.zip
pkzip english english\*.doc english\*.err
del pcbmove.zip
pkzip pcbmove.zip pcbmove.cfg *.doc pcbmove.exe *.err english.* \
english\file_id.diz copying sources.zip
clean:
del *.obj
del pcbmove.exe
pcbmove.exe: pcbmove.obj system.obj mystring.obj scanmail.obj postmsg.obj strings.obj
$(LK) $(LKFLAGS) pcbmove.obj+system.obj+mystring.obj+scanmail.obj+\
postmsg.obj+strings.obj\
,pcbmove.exe,NUL, $(LKLIB);
pklite -a pcbmove.exe
install pcbmove.exe
install.exe: install.obj
$(LK) $(LKFLAGS) install.obj , install.exe,NUL, $(LKLIB);
#
#--------------------------------
# programme pcbmove :
#
pcbmove.obj: pcbmove.c pcbmove.h system.h mystring.h scanmail.h install.h\
strings.h strings.c
system.obj: system.c system.h mystring.h strings.c strings.h
mystring.obj: mystring.c mystring.h
postmsg.obj: postmsg.c postmsg.h pcbmove.h strings.h strings.c
scanmail.obj: scanmail.c scanmail.h pcbmove.h postmsg.h strings.h strings.c
strings.obj: strings.h strings.c pcbmove.h
#--------------------
# programme install :
install.obj : install.c install.h
#-------------------------fin du makefile------------------------------------
#-------------------------end of makefile------------------------------------