# This makefile is for Borland make (IBM PC/80386+)

#		*Translator Definitions*
# Comment this next line out to generate the 68k compiler
# leave it in to generate the 386 compiler
#i386 = -Di386

CC = bcc32 -c -v -DBORLANDC
ASM = TASM32 /zi /ml /m2
LIB = tlib
LINK = tlink32
#SOURCE = ..\source
INCLUDEPATH = C:\bc5\INCLUDE;..\include

.c.obj:
  $(CC) $<
#		*List Macros*

EXE_dependencies = \
winstall.obj pathset.obj fatal.obj uz.obj


#		*Explicit Rules*
all: winstall.exe wreboot.exe

winstall.exe: $(EXE_dependencies)
  $(LINK) /Tpe/ax/c/v/s/L\bc5\lib @&&|
c0x32.obj $(EXE_dependencies)
winstall.exe
winstall.map
import32.lib cw32.lib
|
wreboot.exe: wreboot.obj
  $(LINK) /Tpe/aa/c/v/s/L\bc5\lib @&&|
c0w32.obj wreboot.obj
wreboot.exe
wreboot.map
import32.lib cw32.lib
|
#		*Individual File Dependencies*
asmsubs.obj:
        bcc32 -S asmsubs.c
        tasm -ml asmsubs.asm