home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / source / flzh_rn.mak < prev    next >
Makefile  |  1989-05-26  |  2KB  |  70 lines

  1. From ra!tut!draken!kth!mcvax!uunet!lll-winken!csd4.milw.wisc.edu!leah!rpi!sun.soe.clarkson.edu!nelson Fri May 26 13:05:53 EET DST 1989
  2. Article 1139 of comp.binaries.ibm.pc.d:
  3. Path: chyde!ra!tut!draken!kth!mcvax!uunet!lll-winken!csd4.milw.wisc.edu!leah!rpi!sun.soe.clarkson.edu!nelson
  4. >From: nelson@sun.soe.clarkson.edu (Russ Nelson)
  5. Newsgroups: comp.binaries.ibm.pc.d
  6. Subject: Re: v02i098: flzh_rn.c, faster lzhuf
  7. Message-ID: <NELSON.89May25234532@sun.soe.clarkson.edu>
  8. Date: 26 May 89 03:45:32 GMT
  9. References: <7380@bsu-cs.bsu.edu> <NELSON.89May23103134@sun.soe.clarkson.edu>
  10. Sender: news@sun.soe.clarkson.edu
  11. Reply-To: nelson@clutx.clarkson.edu
  12. Followup-To: comp.binaries.ibm.pc.d
  13. Organization: Clarkson University, Postdam NY
  14. Lines: 51
  15. In-reply-to: nelson@sun.soe.clarkson.edu's message of 23 May 89 14:31:34 GMT
  16.  
  17. Two people have reported trouble getting flzh_rn.c working.  Here is the
  18. makefile that I used:
  19.  
  20. CFLAGS = -M -y -G -O -Z
  21.  
  22. lzhuf.exe: lzhuf.obj
  23.     tcc $(CFLAGS) lzhuf.obj
  24.  
  25. lzhuf.obj: lzhuf.c
  26.     tcc -c $(CFLAGS) -DUSE_ASM lzhuf.c
  27.  
  28. orig.exe: orig.obj
  29.     tcc $(CFLAGS) orig.obj
  30.  
  31. orig.obj: orig.c
  32.     tcc -c $(CFLAGS) orig.c
  33.  
  34. lzhuf.mrg: lzhuf.c
  35.     tcc -S $(CFLAGS) -DUSE_ASM lzhuf.c
  36.     tcod lzhuf
  37.     del lzhuf.asm
  38.  
  39. all: lzhuf.exe orig.exe
  40.  
  41. # orig is the original lzhuf.c as posted to Usenet.
  42. test:    all
  43.     lzhuf e input compresd
  44.     orig d compresd output
  45.     -diff -c input output
  46.     orig e input compresd
  47.     lzhuf d compresd output
  48.     -diff -c input output
  49.  
  50. #ex is a little program that times another program.
  51. time:    nul
  52.     ex orig e input compresd
  53.     ex orig e input compresd
  54.     ex orig e input compresd
  55.     ex lzhuf e input compresd
  56.     ex lzhuf e input compresd
  57.     ex lzhuf e input compresd
  58.     ex orig d compresd output
  59.     ex orig d compresd output
  60.     ex orig d compresd output
  61.     ex lzhuf d compresd output
  62.     ex lzhuf d compresd output
  63.     ex lzhuf d compresd output
  64. --
  65. --russ (nelson@clutx [.bitnet | .clarkson.edu])
  66. I'm a right-to-lifer -- everyone has a right to earn a living sufficient to
  67. feed himself and his family.
  68.  
  69.  
  70.