X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/67805159a972397342c342ee735c8acd640e1399..d1b2a10e6c720fbac770e01e0bc2080e86665bec:/util/imake/Makefile?ds=sidebyside diff --git a/util/imake/Makefile b/util/imake/Makefile index 4c46c67b..1ec5dce7 100644 --- a/util/imake/Makefile +++ b/util/imake/Makefile @@ -15,7 +15,14 @@ BOOTSTRAPCFLAGS = MAKE = make RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \ tags TAGS make.log + LN = cp NPROC = 1 + DESTDIR = . + SRCDIR = /mit/moiradev/src + SOURCES = ${SRCDIR}/util/imake/imake.c ${SRCDIR}/util/imake/ccimake.c \ + ${SRCDIR}/util/imake/Makefile ${SRCDIR}/util/imake/imakemdep.h + +all: imake imake:: @echo "making imake with BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)" @@ -36,6 +43,11 @@ clean: depend: +config: $(SOURCES) + -mkdir $(DESTDIR)/util/imake + for i in $(SOURCES); do \ + $(RM) ${DESTDIR}/util/imake/`basename $$i`; \ + $(LN) $$i ${DESTDIR}/util/imake/`basename $$i`; done # for manual use