Mercurial > hg > xemacs-beta
comparison modules/sample/Makefile @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 3ecd8885ac67 |
children |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
6 # (as would be the case if a user had downloaded a module and wanted | 6 # (as would be the case if a user had downloaded a module and wanted |
7 # to compile it for use within Emacs), see the samples in the sub-directory | 7 # to compile it for use within Emacs), see the samples in the sub-directory |
8 # 'installed'. | 8 # 'installed'. |
9 # | 9 # |
10 | 10 |
11 SHELL=/bin/sh | |
12 RM=rm -f | |
11 CC=../../lib-src/ellcc | 13 CC=../../lib-src/ellcc |
12 CFLAGS=-I. -I../../src | 14 CFLAGS=-I. -I../../src |
13 LD=$(CC) --mode=link | 15 LD=$(CC) --mode=link |
14 MKINIT=$(CC) --mode=init | 16 MKINIT=$(CC) --mode=init |
15 | 17 |
26 all: $(MODNAME).ell | 28 all: $(MODNAME).ell |
27 | 29 |
28 distclean: clean | 30 distclean: clean |
29 | 31 |
30 clean: | 32 clean: |
31 rm -f $(MODNAME).ell $(OBJS) sample_i.o sample_i.c | 33 $(RM) $(MODNAME).ell $(OBJS) sample_i.o sample_i.c |
32 | 34 |
33 $(MODNAME).ell: $(OBJS) sample_i.o | 35 $(MODNAME).ell: $(OBJS) sample_i.o |
34 $(LD) --mod-output=$@ $(OBJS) sample_i.o | 36 $(LD) --mod-output=$@ $(OBJS) sample_i.o |
35 | 37 |
36 sample_i.o: sample_i.c | 38 sample_i.o: sample_i.c |