home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
me34src.zip
/
me3
/
Makefile.bc
< prev
next >
Wrap
Makefile
|
1995-01-14
|
2KB
|
94 lines
# Borland C++ 2.0 Makefile for all of ME on MS-DOS
# Invokes make in each of the sub-directories to make everything.
#
# To build ME: "make -fmakefile.bc"
# To clean up the .obj files (leaving libraries): "make -fmakefile.bc clean"
# To remove everything but the source: "make -fmakefile.bc realclean"
#
# To install:
# Check the "Installation" section (below) then:
# "make -fmakefile.bc install"
#
# Before invoking make you must configure the following:
# ./Makefile.bc (this file!)
#
##########################################################################
## start of user configuration ##
##########################################################################
# Installation directories:
# BIN is where to put the binaries (me3 and mc2)
# MUTTLIB is where to put the ME3 extension libraries.
# Make sure this directory matches what you have in me/config.h
# DOC is where to put the documation files. Normally the same as MUTTLIB
# because that makes it easy for ME to look for the doc files.
# Normal MS-DOS case:
# BIN = C:/bin or whatever you have for a bin directory
# MUTTLIB = C:/me3
# DOC = $(MUTTLIB)
BIN = C:\bin
MUTTLIB = C:\me3
DOC = $(MUTTLIB)
##########################################################################
## End of User Configuration ##
##########################################################################
MAKEFILE = makefile.bc
MAKE = make -f$(MAKEFILE)
MAKED = make -f$(MAKEFILE) -DMAKEFILE=$(MAKEFILE)
all: announce subdirs
announce:
@echo *************** Building the Mutt Editor *******************
subdirs:
@cd ed
@$(MAKE)
@cd ..\util
@$(MAKE)
@cd ..\mc
@$(MAKE)
@cd ..\mutt
@$(MAKED)
@cd ..\me
@$(MAKE)
@cd ..
# clean just cleans up objects
clean:
@cd ed
@$(MAKE) clean
@cd ..\util
@$(MAKE) clean
@cd ..\mc
@$(MAKE) clean
@cd ..\mutt
@$(MAKED) clean
@cd ..\me
@$(MAKE) clean
@cd ..
# realclean cleanup objects, libraries, executables and .mco's
realclean:
@cd ed
@$(MAKE) realclean
@cd ..\util
@$(MAKE) realclean
@cd ..\mc
@$(MAKE) realclean
@cd ..\mutt
@$(MAKED) realclean
@cd ..\me
@$(MAKE) realclean
@cd ..
install:
copy me\me3.exe $(BIN)
copy mc\mc2.exe $(BIN)
mkdir $(MUTTLIB)
copy mutt\package\*.mco $(MUTTLIB)
copy doc\*.doc $(DOC)
copy doc\*.idx $(DOC)