Mercurial > hg > xemacs-beta
comparison modules/sample/Makefile @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 11:20:41 +0200 |
| parents | de805c49cfc1 |
| children | 11054d720c21 |
comparison
equal
deleted
inserted
replaced
| 411:12e008d41344 | 412:697ef44129c6 |
|---|---|
| 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 | |
| 13 CC=../../lib-src/ellcc | 11 CC=../../lib-src/ellcc |
| 14 CFLAGS=-I. -I../../src | 12 CFLAGS=-I. -I../../src |
| 15 LD=$(CC) --mode=link | 13 LD=$(CC) --mode=link |
| 16 MKINIT=$(CC) --mode=init | 14 MKINIT=$(CC) --mode=init |
| 17 | 15 |
| 25 MODVER=1.0.0 | 23 MODVER=1.0.0 |
| 26 MODTITLE="Sample loadable module" | 24 MODTITLE="Sample loadable module" |
| 27 | 25 |
| 28 all: $(MODNAME).ell | 26 all: $(MODNAME).ell |
| 29 | 27 |
| 30 distclean: clean | |
| 31 | |
| 32 clean: | 28 clean: |
| 33 $(RM) $(MODNAME).ell $(OBJS) sample_i.o sample_i.c | 29 rm -f $(MODNAME).ell $(OBJS) sample_i.o sample_i.c |
| 34 | 30 |
| 35 $(MODNAME).ell: $(OBJS) sample_i.o | 31 $(MODNAME).ell: $(OBJS) sample_i.o |
| 36 $(LD) --mod-output=$@ $(OBJS) sample_i.o | 32 $(LD) --mod-output=$@ $(OBJS) sample_i.o |
| 37 | 33 |
| 38 sample_i.o: sample_i.c | 34 sample_i.o: sample_i.c |
