Category : C Source Code
Archive   : ARGEX2.ZIP
Filename : MAKEFILE

 
Output of file : MAKEFILE contained in archive : ARGEX2.ZIP

#
# Expand argv[] makefile
#
# John Maline 6-21-87
# Turbo C 1.00
#
INC=c:\bin\lang\tc\include\

LIB=c:\bin\lang\tc\lib\

CC=tcc
CFLAGS=-I$(INC) -Z -c -wpro -DWILDSORT=1

all: argvt.lib argvs.lib argvc.lib argvm.lib argvl.lib argvh.lib

test.exe: expand.c
$(CC) -DMAIN=1 -DDEBUG=1 -DWILDSORT=1 -ms -etest -I$(INC) -L$(LIB) -Z expand.c

argvt.lib: argvt.obj expandt.obj
oml argvt.lib r argvt.obj expandt.obj

argvt.obj: argv.asm
masm -D__TINY__ -I$(INC) -MX argv,argvt;

expandt.obj: expand.c
$(CC) -mt -oexpandt.obj $(CFLAGS) expand.c

argvs.lib: argvs.obj expands.obj
oml argvs.lib r argvs.obj expands.obj

argvs.obj: argv.asm
masm -D__SMALL__ -I$(INC) -MX argv,argvs;

expands.obj: expand.c
$(CC) -ms -oexpands.obj $(CFLAGS) expand.c

argvm.lib: argvm.obj expandm.obj
oml argvm.lib r argvm.obj expandm.obj

argvm.obj: argv.asm
masm -D__MEDIUM__ -I$(INC) -MX argv,argvm;

expandm.obj: expand.c
$(CC) -mm -oexpandm.obj $(CFLAGS) expand.c

argvc.lib: argvc.obj expandc.obj
oml argvc.lib r argvc.obj expandc.obj

argvc.obj: argv.asm
masm -D__COMPACT__ -I$(INC) -MX argv,argvc;

expandc.obj: expand.c
$(CC) -mc -oexpandc.obj $(CFLAGS) expand.c

argvl.lib: argvl.obj expandl.obj
oml argvl.lib r argvl.obj expandl.obj

argvl.obj: argv.asm
masm -D__LARGE__ -I$(INC) -MX argv,argvl;

expandl.obj: expand.c
$(CC) -ml -oexpandl.obj $(CFLAGS) expand.c

argvh.lib: argvh.obj expandh.obj
oml argvh.lib r argvh.obj expandh.obj

argvh.obj: argv.asm
masm -D__HUGE__ -I$(INC) -MX argv,argvh;

expandh.obj: expand.c
$(CC) -mh -oexpandh.obj $(CFLAGS) expand.c