home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / rcs567s.zip / rcsfront / Makefile < prev    next >
Makefile  |  1994-04-08  |  1KB  |  44 lines

  1. # Makefile for rcsfront
  2.  
  3. # emx 0.8h (gcc) -> 32-bit OS/2 executables
  4. emx:
  5.     $(MAKE) all CC="gcc -Zomf -Zmtd -O" \
  6.     LDFLAGS="-s -Zstack 512" O=".obj" DEF="cio.def"
  7. emx-debug:
  8.     $(MAKE) all CC="gcc -g" LDFLAGS="" O=".o"
  9.  
  10. # emx 0.8h (gcc) -> 32-bit DOS executables
  11. emxdos:
  12.     $(MAKE) all CC="gcc -O" LDFLAGS="-s" O=".o" EXTRA="pipe.o"
  13.  
  14. # Microsoft C 6.00A -> 16-bit OS/2 (and DOS, family mode) executables
  15. msc:
  16.     $(MAKE) all CC="cl -nologo -AS -W1 -J -Zap -G2s -Ocegt" \
  17.     LDFLAGS="setargv.obj -Lp -F 4000 -link /noe" O=".obj" \
  18.     EXTRA="pipe.obj" DEF="cio.def"
  19. msc-debug:
  20.     $(MAKE) all CC="cl -nologo -AS -W1 -J -Ziap -G2 -Od" \
  21.     LDFLAGS="setargv.obj -Lp -F 4000 -link /noe" O=".obj" \
  22.     EXTRA="pipe.obj"
  23.  
  24. # Microsoft C 6.00A -> 16-bit DOS-only executables
  25. mscdos:
  26.     $(MAKE) all CC="cl -nologo -AS -W1 -J -Zap -G2s -Ocegt" \
  27.     LDFLAGS="setargv.obj -Lr -F 4000 -link /noe" O=".obj" \
  28.     EXTRA="pipe.obj"
  29.  
  30. CFLAGS = -DOS2
  31.  
  32. all:  cii.exe coo.exe
  33.  
  34. .SUFFIXES: .c $O
  35.  
  36. .c$O:
  37.     $(CC) $(CFLAGS) -c $*.c
  38.  
  39. cii.exe: cii$O $(DEF)
  40.     $(CC) cii$O -o $@ $(DEF) $(LDFLAGS) 
  41.  
  42. coo.exe: cio$O $(EXTRA) $(DEF)
  43.     $(CC) cio$O $(EXTRA) -o $@ $(DEF) $(LDFLAGS) 
  44.