home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 10 / Sonderheft_12.iso / best-of-tools / packer / xpk3.11 / xpk_source / examples / makefile next >
Makefile  |  1996-11-26  |  715b  |  39 lines

  1. #
  2. # Makefile for the various example programs
  3. #
  4. # The files in here:
  5. # - xpkmanx.c   :  The 'xpk' program for Manx compilation
  6. # - xpksas.c    :  The 'xpk' program for SAS  compilation
  7. # - xpkdice.c   :  The 'xpk' program for DICE compilation
  8. #
  9.  
  10. msg:
  11.     -Please specify your compiler, either 'make manx', 'make sas' or 'make dice'
  12.  
  13. all: manx dice sas gcc
  14.  
  15. manx: xpkmanx
  16. dice: xpkdice
  17. sas : xpksas
  18. gcc : xpkgcc
  19.  
  20. #-----MANX
  21. xpkmanx: xpkmanx.c
  22.     cc xpkmanx.c
  23.     ln xpkmanx.o -lc
  24.  
  25. #----DICE
  26. xpkdice: xpkdice.c
  27.     dcc xpkdice.c -lxpkmaster.lib -oxpkdice
  28.  
  29. #----SAS
  30. xpksas: xpksas.c
  31.     sc xpksas.c LINK TO xpksas LIB lib:sc.lib NOICONS
  32.  
  33. clean:
  34.     -Delete "#?.o"
  35.     -Delete "#?manx"
  36.     -Delete "#?sas"
  37.     -Delete "#?.lnk"
  38.     -Delete "#?dice"
  39.