X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=modules%2Fbase64%2FMakefile;h=0dde2f38eb66a066a40bd9649e7a5614b3402f66;hb=27515c561fe254c41c0f3b0d2b8854ba1991cf42;hp=43a70e31ce83148692326b7e757f6a2b2109e1b3;hpb=f3ec20f455f3f1212d2c5ee4cadc984330da9c38;p=chise%2Fxemacs-chise.git.1 diff --git a/modules/base64/Makefile b/modules/base64/Makefile index 43a70e3..0dde2f3 100644 --- a/modules/base64/Makefile +++ b/modules/base64/Makefile @@ -1,5 +1,4 @@ # -# Sample makefile for a simple Emacs module. # This is slightly more complicated than would normally be the case, # as this makefile has been tailored to work in the Emacs source tree. # For samples of how to compile modules outside of the source tree @@ -8,6 +7,8 @@ # 'installed'. # +SHELL=/bin/sh +RM=rm -f CC=../../lib-src/ellcc CFLAGS=-I. -I../../src LD=$(CC) --mode=link @@ -25,8 +26,10 @@ MODTITLE="Encode objects in Base 64" all: $(MODNAME).ell +distclean: clean + clean: - rm -f $(MODNAME).ell $(OBJS) base64_i.o base64_i.c + $(RM) $(MODNAME).ell $(OBJS) base64_i.o base64_i.c $(MODNAME).ell: $(OBJS) base64_i.o $(LD) --mod-output=$@ $(OBJS) base64_i.o