home *** CD-ROM | disk | FTP | other *** search
/ CBM Funet Archive / cbm-funet-archive-2003.iso / cbm / programming / msdos / xa214f.lzh / xa214f / Makefile < prev    next >
Makefile  |  1998-03-03  |  802b  |  45 lines

  1.  
  2. # uNIX GCC OR dos GO32 CROSS-COMPILING GCC
  3. #
  4. cc=GCC
  5. ld=GCC
  6. cflags=-w -wALL -PEDANTIC -ANSI
  7. # cc=GCC-GO32
  8. # ld=GCC-GO32
  9. # cflags=-w -wALL -PEDANTIC 
  10.  
  11. # oTHER CC
  12. #cc=CC
  13. #cflags=
  14. #ld=LD
  15.  
  16. installdir=/USR/LOCAL
  17.  
  18. ALL: XA UNCPK
  19.  
  20. XA:
  21. (CD SRC; ld=${$7b}ld{$7d} cc="${$7b}cc{$7d} ${$7b}cflags{$7d}" ${$7b}make{$7d}; )
  22.  
  23. LOAD:
  24. (CD LOADER; cc="${$7b}cc{$7d} ${$7b}cflags{$7d}" ${$7b}make{$7d}; )
  25.  
  26. UNCPK:
  27. (CD MISC; cc="${$7b}cc{$7d} ${$7b}cflags{$7d}" ${$7b}make{$7d}; )
  28.  
  29. DOS: CLEAN
  30. (CD SRC; ld=GCC-GO32 cc="GCC-GO32 -w -wALL -PEDANTIC" ${$7b}make{$7d}; )
  31. (CD MISC; cc="GCC-GO32 -w -wALL -PEDANTIC" ${$7b}make{$7d}; )
  32. RM -F XA FILE65 LD65 UNCPK PRINTCBM RELOC65 MKROM.SH SRC/*.O
  33.  
  34. CLEAN:
  35. (CD SRC; ${$7b}make{$7d} CLEAN )
  36. (CD LOADER; ${$7b}make{$7d} CLEAN )
  37. (CD MISC; ${$7b}make{$7d} MRPROPER )
  38. RM -F XA *.EXE
  39.  
  40. INSTALL: XA UNCPK
  41. FOR I IN XA RELOC65 LD65 FILE65 PRINTCBM UNCPK; \
  42.   DO CP $$I ${$7b}installdir{$7d}/BIN; \
  43. DONE
  44.  
  45.