home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / historic / v941.tgz / icon.v941src.tar / icon.v941src / src / Makefile
Makefile  |  2001-12-06  |  936b  |  31 lines

  1. #  Icon source Makefile, normally used only for cleanup.
  2.  
  3.  
  4. what:
  5.     @echo "What do you want to make?"
  6.  
  7. Clean Pure:
  8.     cd iconc;    rm -f *.o iconc
  9.     cd common;    rm -f *.o doincl patchstr infer
  10.     cd preproc;    rm -f *.o pp
  11.     cd rtt;        rm -f *.o rtt
  12.     cd runtime;    rm -f *.o *.c rt.db rt.a rttcur.lst rttfull.lst iconx
  13.     cd icont;    rm -f *.o icont
  14.     cd xpm;        rm -f *.o *.a
  15. # force full runtime system rebuild
  16.     touch h/define.h
  17.     rm -f h/arch.h
  18.  
  19.  
  20. #  The following entry forces rebuilding of everthing from first-generation
  21. #  files, even files not normally recreated.  Doing this requires uncommenting
  22. #  some lines in common/Makefile, icont/Makefile, and iconc/Makefile.
  23.  
  24. Force-rebuild: Clean
  25.     cd h; rm -f kdefs.h
  26.     cd common; rm -f *.o yacctok.h lextab.h icontype.h \
  27.         doincl fixgram mktoktab patchstr pscript typespec
  28.     cd icont; rm -f *.o icont mkkwd trash \
  29.         hdr.h keyword.h tgram.g ttoken.h tparse.c
  30.     cd iconc; rm -f *.o iconc cgram.g ctoken.h cparse.h
  31.