#
-# 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
# 'installed'.
#
+SHELL=/bin/sh
+RM=rm -f
CC=../../lib-src/ellcc
CFLAGS=-I. -I../../src
LD=$(CC) --mode=link
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