2000-02-10 01:15:28 +01:00
|
|
|
include GNUmakevars
|
2010-06-02 10:15:02 +02:00
|
|
|
|
|
|
|
CONFDIR=../../configure
|
|
|
|
CONFDIR_exists=$(shell [ -d $(CONFDIR) ] && echo ok)
|
|
|
|
|
|
|
|
all: shuffle
|
2000-02-10 01:15:28 +01:00
|
|
|
|
|
|
|
shuffle: shuffle.o
|
|
|
|
$(CC) $^ -lant -o $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o shuffle core foo bar
|
|
|
|
|
|
|
|
install: $(BINDIR)/shuffle
|
|
|
|
|
|
|
|
distclean: clean
|
2016-07-05 22:30:23 +02:00
|
|
|
rm -f *.bak *.d GNUmakerules GNUmakevars
|
2010-06-02 10:15:02 +02:00
|
|
|
|
|
|
|
GNUmakevars: GNUmakevars.sh
|
|
|
|
sh ./$^ > $@
|
|
|
|
GNUmakerules: GNUmakerules.sh
|
|
|
|
sh ./$^ > $@
|
|
|
|
|
|
|
|
customize: configure
|
|
|
|
sh ./configure
|
|
|
|
|
|
|
|
ifeq ($(CONFDIR_exists),ok)
|
|
|
|
|
|
|
|
configure: $(CONFDIR)/start $(CONFDIR)/perl $(CONFDIR)/finish
|
|
|
|
cat $^ > $@
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
include GNUmakerules
|