home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
CMDS
/
beav.1.40.lzh
/
BEAV140
/
makefile.os2
< prev
next >
Wrap
Makefile
|
1995-06-14
|
932b
|
36 lines
# Makefile for BEAV 1.40
# OS/2 port done by Kai Uwe Rommel
# rommel@jonas.ucrc.sub.org
default:
@echo "Make target msc or gcc."
# Microsoft C 6.00 (16-bit)
msc:
$(MAKE) -f makefile.os2 beav.exe \
CC="cl -nologo -AL -Oegit" O=".obj" CFLAGS="-W1 -Zep -J -G2s -UMSDOS" \
LDFLAGS="-Lp -Fb -F 4000 d:\msc\lib\setargv.obj -o" \
LIBS="-link /noe" DEF="beav.def"
# emx gcc (32-bit)
gcc:
$(MAKE) -f makefile.os2 beav.exe \
CC="gcc -O -Zomf -Zsys" O=".obj" CFLAGS="" \
LDFLAGS="-s -o" LIBS="-los2" DEF="beav32.def"
OBJ = basic$O buffer$O cinfo$O display$O ebcdic$O echo$O extend$O file$O \
fileio$O format$O kbd$O line$O main$O random$O region$O search$O \
spawn$O symbol$O tcap$O termcap$O termio$O text$O tty$O ttyio$O \
ttykbd$O wangpc$O window$O word$O
DEFINES = -DUNIX -DOS2
.c$O:
$(CC) $(CFLAGS) $(DEFINES) -c $<
beav.exe: $(OBJ) $(DEF)
$(CC) $(OBJ) $(DEF) $(LDFLAGS) $@ $(LIBS)
(OBJ): def.h prototyp.h