summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-01-27 23:51:56 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-01-27 23:51:56 +0000
commit6ab0c0f5bf14ed9c15370407b9ee7e0b4b089ae1 (patch)
tree926065cf45450116098db664e3c61dced9e1f21a /src/Makefile
downloadicon-6ab0c0f5bf14ed9c15370407b9ee7e0b4b089ae1.tar.gz
Initial upstream version 9.4.3upstream/9.4.3
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..2aaa971
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,31 @@
+# Icon source Makefile, normally used only for cleanup.
+
+
+what:
+ @echo "What do you want to make?"
+
+Clean Pure:
+ cd iconc; rm -f *.o iconc
+ cd common; rm -f *.o doincl patchstr infer
+ cd preproc; rm -f *.o pp
+ cd rtt; rm -f *.o rtt
+ cd runtime; rm -f *.o *.c rt.db rt.a rttcur.lst rttfull.lst iconx
+ cd icont; rm -f *.o icont hdr.h ixhdr.hdr newhdr
+ cd wincap; rm -f *.o *.a
+ cd xpm; rm -f *.o *.a
+# force full runtime system rebuild
+ touch h/define.h
+ rm -f h/arch.h
+
+
+# The following entry forces rebuilding of everthing from first-generation
+# files, even files not normally recreated. Doing this requires uncommenting
+# some lines in common/Makefile, icont/Makefile, and iconc/Makefile.
+
+Force-rebuild: Clean
+ cd h; rm -f kdefs.h
+ cd common; rm -f *.o yacctok.h lextab.h icontype.h \
+ doincl fixgram mktoktab patchstr pscript typespec
+ cd icont; rm -f *.o icont mkkwd trash \
+ hdr.h keyword.h tgram.g ttoken.h tparse.c
+ cd iconc; rm -f *.o iconc cgram.g ctoken.h cparse.h