Signed-off-by: Rob Browning <rlb@defaultvalue.org>
$(LIBDIR)/web
%/all:
$(MAKE) -C $* all
$(LIBDIR)/web
%/all:
$(MAKE) -C $* all
%/clean:
$(MAKE) -C $* clean
%/clean:
$(MAKE) -C $* clean
rm -f $@ $@.new
./format-subst.pl $@.pre >$@.new
mv $@.new $@
rm -f $@ $@.new
./format-subst.pl $@.pre >$@.new
mv $@.new $@
runtests: all runtests-python runtests-cmdline
runtests-python:
$(PYTHON) wvtest.py $(wildcard t/t*.py lib/*/t/t*.py)
runtests: all runtests-python runtests-cmdline
runtests-python:
$(PYTHON) wvtest.py $(wildcard t/t*.py lib/*/t/t*.py)
runtests-cmdline: all
t/test.sh
runtests-cmdline: all
t/test.sh
stupid:
PATH=/bin:/usr/bin $(MAKE) test
stupid:
PATH=/bin:/usr/bin $(MAKE) test
test: all
./wvtestrun $(MAKE) PYTHON=$(PYTHON) runtests
%: %.o
$(CC) $(CFLAGS) (LDFLAGS) -o $@ $^ $(LIBS)
test: all
./wvtestrun $(MAKE) PYTHON=$(PYTHON) runtests
%: %.o
$(CC) $(CFLAGS) (LDFLAGS) -o $@ $^ $(LIBS)
bup: main.py
rm -f $@
ln -s $< $@
bup: main.py
rm -f $@
ln -s $< $@
cmds: $(patsubst cmd/%-cmd.py,cmd/bup-%,$(wildcard cmd/*-cmd.py))
cmd/bup-%: cmd/%-cmd.py
rm -f $@
ln -s $*-cmd.py $@
cmds: $(patsubst cmd/%-cmd.py,cmd/bup-%,$(wildcard cmd/*-cmd.py))
cmd/bup-%: cmd/%-cmd.py
rm -f $@
ln -s $*-cmd.py $@
%: %.py
rm -f $@
ln -s $< $@
%: %.py
rm -f $@
ln -s $< $@
bup-%: cmd-%.sh
rm -f $@
ln -s $< $@
bup-%: cmd-%.sh
rm -f $@
ln -s $< $@
%.o: %.c
gcc -c -o $@ $< $(CPPFLAGS) $(CFLAGS)
%.o: %.c
gcc -c -o $@ $< $(CPPFLAGS) $(CFLAGS)