home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
rcs567s.zip
/
rcsfront
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-04-08
|
1KB
|
44 lines
# Makefile for rcsfront
# emx 0.8h (gcc) -> 32-bit OS/2 executables
emx:
$(MAKE) all CC="gcc -Zomf -Zmtd -O" \
LDFLAGS="-s -Zstack 512" O=".obj" DEF="cio.def"
emx-debug:
$(MAKE) all CC="gcc -g" LDFLAGS="" O=".o"
# emx 0.8h (gcc) -> 32-bit DOS executables
emxdos:
$(MAKE) all CC="gcc -O" LDFLAGS="-s" O=".o" EXTRA="pipe.o"
# Microsoft C 6.00A -> 16-bit OS/2 (and DOS, family mode) executables
msc:
$(MAKE) all CC="cl -nologo -AS -W1 -J -Zap -G2s -Ocegt" \
LDFLAGS="setargv.obj -Lp -F 4000 -link /noe" O=".obj" \
EXTRA="pipe.obj" DEF="cio.def"
msc-debug:
$(MAKE) all CC="cl -nologo -AS -W1 -J -Ziap -G2 -Od" \
LDFLAGS="setargv.obj -Lp -F 4000 -link /noe" O=".obj" \
EXTRA="pipe.obj"
# Microsoft C 6.00A -> 16-bit DOS-only executables
mscdos:
$(MAKE) all CC="cl -nologo -AS -W1 -J -Zap -G2s -Ocegt" \
LDFLAGS="setargv.obj -Lr -F 4000 -link /noe" O=".obj" \
EXTRA="pipe.obj"
CFLAGS = -DOS2
all: cii.exe coo.exe
.SUFFIXES: .c $O
.c$O:
$(CC) $(CFLAGS) -c $*.c
cii.exe: cii$O $(DEF)
$(CC) cii$O -o $@ $(DEF) $(LDFLAGS)
coo.exe: cio$O $(EXTRA) $(DEF)
$(CC) cio$O $(EXTRA) -o $@ $(DEF) $(LDFLAGS)