home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: OtherApp / OtherApp.zip / entrand.zip / ent / Makefile < prev    next >
Makefile  |  2003-01-22  |  533b  |  31 lines

  1.  
  2. #   Unix make file for random test program
  3.  
  4. CFLAGS = -g
  5. #CFLAGS = -O
  6.  
  7. ent:    ent.o iso8859.o randtest.o
  8.     gcc -O ent.o iso8859.o randtest.o -o ent -lm
  9.  
  10. ent.c:    iso8859.h randtest.h
  11.  
  12. DISTFILES = Makefile ent.c ent.exe ent.html \
  13.         entitle.gif entest.bat entest.mas \
  14.         iso8859.c iso8859.h randtest.c randtest.h
  15.  
  16. release:
  17.     rm -f random.zip
  18.     zip random.zip $(DISTFILES)
  19.  
  20. TESTFILE = entitle.gif
  21.  
  22. test:    ent
  23.     sh entest.bat
  24.     diff entest.mas entest.bak
  25.  
  26. lint:
  27.     lint *.c
  28.  
  29. clean:
  30.     rm -f *.o *.bak ent ent.zip
  31.