Category : Recently Uploaded Files
Archive   : BATCSH11.ZIP
Filename : MAKEFILE

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

all: bat2csh.exe

# Directory containing lex
LXDIR = C:\UNX
# Directory containing compiler
CCDIR = C:\BORLANDC\BIN
# Directory containing linker
LKDIR = C:\BORLANDC\BIN
# Precompiled header (on ram drive)
HEADER = H:\STDCDEF.SYM

# Filenames of lex, compiler, linker
LX = $(LXDIR)\FLEX
CC = $(CCDIR)\BCC
LK = $(LKDIR)\TLINK

# Memory model
MEM = s

# Options for lex, compiler, linker
LXOPT = -i -I -L -8 -S$(LXDIR)\FLEX.SKL
CCOPT = -c -m$(MEM) -d -N -O1 -K -X -H=$(HEADER)
LKOPT = /c /x

# Start-up obj & libraries to link
SOBJ = C0$(MEM)
LIBS = C$(MEM)

lexyy.c: bat2csh.l $(LXDIR)\flex.skl
$(LX) $(LXOPT) bat2csh.l

lexyy.obj: lexyy.c
$(CC) $(CCOPT) lexyy.c

bat2csh.exe: lexyy.obj
$(LK) $(LKOPT) $(SOBJ) lexyy, bat2csh, , $(LIBS)