home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
UTILS2
/
SECDR13A.ZIP
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1994-01-30
|
1KB
|
49 lines
# makefile for Secure Drive 1.3 (Turbo C)
##DEBUG = -v #EWS debug mode if active#
DEBUG = -Z -O #EWS No debug; optimize regs, jumps
# As of version 3.0, Turbo C has been renamed Borland C.
# CC = bcc
CC = tcc
CFLAGS = -ml -d $(OPT) $(DEFINES)
LFLAGS = -ml -le -ls #EWS#
###LFLAGS = -ml -le -ls -v #Debug EWS#
###ASMFLAGS = -zi -mx #Debug Mode for ASM#
ASMFLAGS = -mx
ASM = tasm # Assembler command
.c.obj:
$(CC) -c $(CFLAGS) $(DEBUG) $*.c
.asm.obj:
$(ASM) $(ASMFLAGS) $*.asm ;
all: cryptdsk.exe login.exe sectsr.com
cryptdsk.exe: cryptdsk.obj md5.obj crypt2.obj sdcommon.obj rldbios.obj
$(CC) $(LFLAGS) -ecryptdsk cryptdsk.obj md5.obj crypt2.obj sdcommon.obj rldbios.obj
login.exe: login.obj md5.obj crypt2.obj sdcommon.obj setenv.obj rldbios.obj
$(CC) $(LFLAGS) -elogin login.obj md5.obj sdcommon.obj setenv.obj rldbios.obj
sectsr.com: sectsr.obj
tlink /t $(LFLAGS) -esectsr sectsr.obj
## Dependencies ##
cryptdsk.obj : cryptdsk.c secdrv.h
login.obj : login.c secdrv.h
sectsr.obj : sectsr.asm
crypt2.obj : crypt2.asm
sdcommon.obj : sdcommon.c secdrv.h
setenv.obj : setenv.asm
rldbios.obj: rldbios.asm
secdrv.h: usuals.h