From 059e5edba1175504698637f734eb5bf975b299fa Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 1 Mar 2002 08:08:28 +0000 Subject: Playing against crafty now works. --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a1eaa78..41813b0 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,9 @@ -DIRS = $(shell find . ! -name CVS -type d) SPECIAL = chess-auto.el -SOURCE = $(filter-out $(SPECIAL),$(shell find -name '*.el')) +SOURCE = $(filter-out $(SPECIAL),$(wildcard *.el)) TARGET = $(patsubst %.el,%.elc,$(SPECIAL) $(SOURCE)) EMACS = emacs all: $(TARGET) - -rm subdirs.elc chess-auto.el: chess-auto.in $(SOURCE) cp chess-auto.in chess-auto.el @@ -13,10 +11,11 @@ chess-auto.el: chess-auto.in $(SOURCE) $(EMACS) --no-init-file --no-site-file -batch \ -l $(shell pwd)/chess-auto \ -f generate-autoloads \ - $(shell pwd)/chess-auto.el $(DIRS) + $(shell pwd)/chess-auto.el . %.elc: %.el $(EMACS) --no-init-file --no-site-file -batch \ + -l $(shell pwd)/chess-maint \ -f batch-byte-compile $< clean: -- cgit v1.2.3