# Copyright (c) 1993 Argonaut Software Ltd. All rights reserved.
#
# $Id: MAKEFILE.MSC 1.1 1996/11/11 15:20:06 OWAIN Exp $
# $Locker: $
#
# NMAKE makefile with Microsoft Visual C++ 2.0 + Pharlap TNT
#
TARGET=minimal.exe

BASE_DIR=c:\brender

# Microsoft, Fixed, Release
#
#LIB_TYPE=mxr
#LIB_TYPE_NB=mr
#LIB_TYPE_EX=plmr
#BASED=FIXED

# Float, Release
LIB_TYPE=mfr
LIB_TYPE_NB=mr
LIB_TYPE_EX=plmr
BASED=FLOAT

CC=cl
CFLAGS=-c -Zp4 -Gz  -DBASED_$(BASED)=1 -D__PHARLAP386__=1\
 -I$(BASE_DIR)\inc\
 -I$(BASE_DIR)\dosio\

LD=386link
LDFLAGS=@msvc32.dos -stack 65536

OBJS=\
        minimal.obj\

LIBS=\
        $(BASE_DIR)/lib/brfw$(LIB_TYPE_NB).lib\
	$(BASE_DIR)/lib/brfm$(LIB_TYPE).lib\
	$(BASE_DIR)/lib/brdb$(LIB_TYPE).lib\
	$(BASE_DIR)/lib/brmt$(LIB_TYPE).lib\
	$(BASE_DIR)/lib/brpm$(LIB_TYPE_NB).lib\
	$(BASE_DIR)/lib/dosio$(LIB_TYPE_NB).lib\
	$(BASE_DIR)/lib/brst$(LIB_TYPE_NB).lib\
	$(BASE_DIR)/lib/hst$(LIB_TYPE_EX).lib\

# Default rules
#
# Cope with long command lines
#
.c.obj:
	$(CC) @<<cl.rsp
$(CFLAGS)
$<
<<

$(TARGET): $(OBJS)
	$(LD) $(LDFLAGS) -exe $(TARGET) @<<link.rsp
$(OBJS)
-lib $(LIBS)
<<

