home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
me34src.zip
/
me3
/
mc
/
Makefile.bc
< prev
next >
Wrap
Makefile
|
1995-01-14
|
953b
|
44 lines
# Borland C++ 2.0 Makefile for the Mutt compiler on MS-DOS
# My, the Borland make sure is brain dead and tlib sure doesn't help.
MODEL = l
CFLAGS = -O
#CFLAGS = -O- -v # turn on debugging
.c.obj:
bcc -c -I. -I../util \
$(CFLAGS) -m$(MODEL) -A -d -N -f- -P-c -w-pia {$< }
MC2OBJ = mc.obj code.obj comp.obj control.obj defun.obj supp.obj token.obj \
vcomp.obj dhash.obj
MM2OBJ = mm.obj oman.obj
MMOBJ = mmsa.obj
VERTOBJ = mco_to_c.obj
all: announce mc2.exe mm2.lib mco_to_c.exe
announce:
@echo **** Building the Mutt Compiler/Mutt Machine Library & Mutter ****
mc2.exe: $(MC2OBJ)
bcc -e$. $(CFLAGS) -m$(MODEL) $(MC2OBJ) ../util/util.lib
mm2.lib: $(MM2OBJ)
del $.
tlib $& +mm +oman #,$&.lst
mco_to_c.exe: $(VERTOBJ)
bcc -e$. $(CFLAGS) -m$(MODEL) $(VERTOBJ) ../util/util.lib
mm2.exe: $(MMOBJ) mm2.lib
bcc -e$. $(CFLAGS) -m$(MODEL) $(MMOBJ) mm2.lib ../util/util.lib
clean:
del *.obj
realclean:
del *.obj
del *.exe
del *.lib