LIB = ../lib/ BIN = ../bin/ PERL = perl -I$(LIB) PERLC = $(PERL) -c MKDIR = mkdir RM = rm -fv RMDIR = rm -frv MKPLUGIN2_PL = $(BIN)mkplugin2.pl MKPLUGIN2 = $(PERL) $(MKPLUGIN2_PL) all: config.ph log lock cache config.ph: config.wp2 $(MKPLUGIN2_PL) $(MKPLUGIN2) $< > $@ $(PERLC) $@ log: $(MKDIR) log lock: $(MKDIR) lock cache: $(MKDIR) cache clean: $(RM) config.ph $(RM) *~ *.BAK .*~ .*.BAK distclean: clean $(RMDIR) log lock