X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fsample%2FMakefile;h=9fc2f7e136dbc5dd9b9f991238da2cdb750414c5;hb=478d803dbae9884b140cb00705349d009cf46640;hp=09390d1c5f97d4853c8f797009f2e0a8b09d22f0;hpb=f3ec20f455f3f1212d2c5ee4cadc984330da9c38;p=chise%2Fxemacs-chise.git.1 diff --git a/modules/sample/Makefile b/modules/sample/Makefile index 09390d1..9fc2f7e 100644 --- a/modules/sample/Makefile +++ b/modules/sample/Makefile @@ -8,6 +8,8 @@ # 'installed'. # +SHELL=/bin/sh +RM=rm -f CC=../../lib-src/ellcc CFLAGS=-I. -I../../src LD=$(CC) --mode=link @@ -25,8 +27,10 @@ MODTITLE="Sample loadable module" all: $(MODNAME).ell +distclean: clean + clean: - rm -f $(MODNAME).ell $(OBJS) sample_i.o sample_i.c + $(RM) $(MODNAME).ell $(OBJS) sample_i.o sample_i.c $(MODNAME).ell: $(OBJS) sample_i.o $(LD) --mod-output=$@ $(OBJS) sample_i.o