H=@
-all: $(LINKS) $(SRC:%.ma=%.moo)
+all: $(SRC:%.ma=%.moo)
opt:
$(H)make MATITAC="$(MATITACOPT)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" all
%.opt:
$(H)make MATITAC="$(MATITACOPT)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" $(@:%.opt=%)
-clean: $(LINKS)
+clean:
$(H)$(MATITACLEAN) $(SRC)
-cleanall: $(LINKS)
+cleanall:
$(H)rm -f $(SRC:%.ma=%.moo)
$(MATITACLEAN) all
make $(DEPEND_NAME)
.PHONY: depend
-%.moo:%.ma $(LINKS)
+%.moo:%.ma
$(H)[ ! -e $@ ] || $(MATITACLEAN) $<
$(H)$(MATITAC) $< || $(MATITACLEAN) $<
-$(DEPEND_NAME): $(SRC) $(LINKS)
+$(DEPEND_NAME): $(SRC)
$(H)$(MATITADEP) $(SRC) > $@
include $(DEPEND_NAME)
H=@
-all: $(LINKS) $(SRC:%.ma=%.moo)
+all: $(SRC:%.ma=%.moo)
opt:
$(H)make MATITAC="$(MATITACOPT)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" all
%.opt:
$(H)make MATITAC="$(MATITACOPT)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" $(@:%.opt=%)
-clean: $(LINKS)
+clean:
$(H)$(MATITACLEAN) $(SRC)
-cleanall: $(LINKS)
+cleanall:
$(H)rm -f $(SRC:%.ma=%.moo)
$(MATITACLEAN) all
make $(DEPEND_NAME)
.PHONY: depend
-%.moo:%.ma $(LINKS)
+%.moo:%.ma
$(H)[ ! -e $@ ] || $(MATITACLEAN) $<
$(H)$(MATITAC) $< || $(MATITACLEAN) $<
-$(DEPEND_NAME): $(SRC) $(LINKS)
+$(DEPEND_NAME): $(SRC)
$(H)$(MATITADEP) $(SRC) > $@
include $(DEPEND_NAME)