home *** CD-ROM | disk | FTP | other *** search
/ Kyūkyoku!! X68000 Emulator / X68000Book.dat / mac / OLS / X68000 / Ko-Window / kow142s.lzh / Makefile < prev    next >
Makefile  |  1995-09-09  |  1KB  |  46 lines

  1. ### Ko-Window
  2.  
  3. WINLIB    = wlib
  4. SHEETLIB= sheetlib
  5.  
  6. make:    wsrv wsrv30 libc
  7.     (cd wsrv;$(MAKE)   -f ../Makefile wsrv.x)
  8.     (cd wsrv30;$(MAKE) -f ../Makefile wsrv30.x)
  9.     (cd libc;$(MAKE)   -f ../Makefile libwin.a)
  10.  
  11. wsrv wsrv30 libc:
  12.     mkdir $@ $@/$(SHEETLIB) $@/$(WINLIB)
  13.  
  14. all:
  15.     (cd parts;$(MAKE) KanjiStrlen.o)
  16.     (cd wsrv;$(MAKE))
  17.     (cd wsrv30;$(MAKE) wsrv30.x)
  18.     (cd libc;$(MAKE))
  19.     (cd parts;$(MAKE))
  20.     (cd corlib;$(MAKE))
  21.     (cd mtmlib;$(MAKE))
  22.  
  23. clean:
  24.     (cd wsrv;$(MAKE) clean)
  25.     (cd wsrv30;$(MAKE) clean)
  26.     (cd libc;$(MAKE) clean)
  27.     (cd mtmlib;$(MAKE) clean)
  28.     rm -f wsrv/Makefile wsrv30/Makefile libc/Makefile
  29.  
  30.  
  31. ###############################################################################
  32. MCNV    = gcc_cpp.x -traditional
  33. MAKESRC    = ../Makefile.src
  34. SUP    = -DLIB_SUP=1
  35.  
  36. wsrv.x: $(MAKESRC)
  37.     $(MCNV) -DCPU_68030=0 -DSRC_LINK=0 -DLIB_LIBC=0 $(SUP) $^ > Makefile
  38. wsrv30.x: $(MAKESRC)
  39.     $(MCNV) -DCPU_68030=1 -DSRC_LINK=1 -DLIB_LIBC=0 $(SUP) $^ > Makefile
  40. libwin.a: $(MAKESRC)
  41.     $(MCNV) -DCPU_68030=0 -DSRC_LINK=1 -DLIB_LIBC=1 $(SUP) $^ > Makefile
  42. wsrvX.x: $(MAKESRC)
  43.     $(MCNV) -DCPU_68030=0 -DSRC_LINK=1 -DLIB_LIBC=0 -DLIB_SUP=1 $^ > Makefile
  44. ###############################################################################
  45. #:vi:se ts=8 sw=8:
  46.