Mercurial > hg > xemacs-beta
comparison modules/zlib/Makefile @ 410:de805c49cfc1 r21-2-35
Import from CVS: tag r21-2-35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:19:21 +0200 |
parents | 74fd4e045ea6 |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
409:301b9ebbdf3b | 410:de805c49cfc1 |
---|---|
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) zlib_i.o zlib_i.c | 33 $(RM) $(MODNAME).ell $(OBJS) zlib_i.o zlib_i.c |
32 | 34 |
33 $(MODNAME).ell: $(OBJS) zlib_i.o | 35 $(MODNAME).ell: $(OBJS) zlib_i.o |
34 $(LD) --mod-output=$@ $(OBJS) zlib_i.o | 36 $(LD) --mod-output=$@ $(OBJS) zlib_i.o |
35 | 37 |
36 zlib_i.o: zlib_i.c | 38 zlib_i.o: zlib_i.c |