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 >
Makefile  |  1995-06-14  |  932b  |  36 lines

  1. # Makefile for BEAV 1.40
  2.  
  3. # OS/2 port done by Kai Uwe Rommel
  4. # rommel@jonas.ucrc.sub.org
  5.  
  6. default:
  7.     @echo "Make target msc or gcc."
  8.  
  9. # Microsoft C 6.00 (16-bit)
  10. msc:
  11.     $(MAKE) -f makefile.os2 beav.exe \
  12.     CC="cl -nologo -AL -Oegit" O=".obj" CFLAGS="-W1 -Zep -J -G2s -UMSDOS" \
  13.     LDFLAGS="-Lp -Fb -F 4000 d:\msc\lib\setargv.obj -o" \
  14.     LIBS="-link /noe" DEF="beav.def"
  15.  
  16. # emx gcc (32-bit)
  17. gcc:
  18.     $(MAKE) -f makefile.os2 beav.exe \
  19.     CC="gcc -O -Zomf -Zsys" O=".obj" CFLAGS="" \
  20.     LDFLAGS="-s -o" LIBS="-los2" DEF="beav32.def"
  21.  
  22. OBJ =    basic$O buffer$O cinfo$O display$O ebcdic$O echo$O extend$O file$O \
  23.     fileio$O format$O kbd$O line$O main$O random$O region$O search$O \
  24.     spawn$O symbol$O tcap$O termcap$O termio$O text$O tty$O ttyio$O \
  25.     ttykbd$O wangpc$O window$O word$O   
  26.  
  27. DEFINES = -DUNIX -DOS2
  28.  
  29. .c$O:
  30.            $(CC) $(CFLAGS) $(DEFINES) -c $<
  31.  
  32. beav.exe: $(OBJ) $(DEF)
  33.     $(CC) $(OBJ) $(DEF) $(LDFLAGS) $@ $(LIBS)
  34.  
  35. (OBJ): def.h prototyp.h
  36.