# GNUmakefile for the studio package, for editing class graphs. # $Id: GNUmakefile,v 1.10 2000/10/23 19:35:33 dougo Exp $ DEMETERJ = demeterj SYMLINK = ln -s SUBDIRS = graphedit ui util LINKS = CTGstrategy.beh CTGglob.beh all: $(LINKS) gen/compile test: $(DEMETERJ) $@ clean: $(DEMETERJ) $@ $(RM) $(LINKS) *~ gen/compile: $(addsuffix /*.java,$(SUBDIRS)) donothing CLASSPATH=$(CLASSPATH):$(JIKESPATH) $(DEMETERJ) -verbose compile $(subst donothing,,$?) touch $@ # This forces the compile rule to fire even when no .java files have changed. # demeterj will figure out if it needs to generate anything. donothing: $(LINKS): $(SYMLINK) ../generate/$(subst CTG,,$@) $@ new: clean all .PHONY: all parsegen weave test clean new donothing