home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / pgccgcc.zip / emx / lib.new / Makefile < prev   
Makefile  |  1997-12-24  |  408b  |  16 lines

  1. #
  2. # This makefile will create OMF libraries from A.OUT-format libraries
  3. #
  4.  
  5. SHELL=cmd
  6. .SUFFIXES: .a .lib
  7.  
  8. $(basename $(SOURCE)).lib: $(basename $(SOURCE)).a
  9.     echo emxomf -o $@ $<
  10.     emxomf -o $@ $<
  11.  
  12. omf:
  13.     @if exist *.a    for %a in (*.a)    do @$(MAKE) -s SOURCE=%a
  14.     @if exist st/*.a for %a in (st/*.a) do @$(MAKE) -s SOURCE=st/%a
  15.     @if exist mt/*.a for %a in (mt/*.a) do @$(MAKE) -s SOURCE=mt/%a
  16.