##############################################################################
# Makefile for RMXPATCH.EXE
##############################################################################
#
# Source:       $Source$
#
# Overview:     This file contains the makefile for RMXPATCH.EXE. Assumes
#               Borland.
#
# Copyright (c) 1995 Johan Wikman. All rights reserved.
#
# $Log$
#
##############################################################################

#
# Rules and macros
#

.SUFFIXES: .obj .cpp

.cpp.obj:
	$(CXX) -c $(CXXFLAGS) $<

CXX		= bcc
CXXFLAGS	= -Hu -Od -v -w -x- $(INCLUDE)

#
# Target specific definitions.
#

INCLUDE         = 
OBJS		= main.obj \
		  rmxexe.obj \
		  rmxpatch.obj

#
# Targets.
#

rmxpatch.exe: $(OBJS)
	$(CXX) -ermxpatch.exe -sDrmxpatch.def $(OBJS)

clean:
	del *.exe *.obj *~
