barnowl_perlaimdebianowlrelease-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change
on this file since 1aee7d9 was
1aee7d9,
checked in by Erik Nygren <nygren@mit.edu>, 22 years ago
|
* Added RCS Id strings to all files.
* 'show keymaps' shows details of all keymaps after summary list.
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | CC=@CC@ |
---|
5 | LIBS=@LIBS@ |
---|
6 | #CFLAGS=@CFLAGS@ @DEFS@ |
---|
7 | CFLAGS=@CFLAGS@ |
---|
8 | LDFLAGS=@LDFLAGS@ |
---|
9 | |
---|
10 | OBJS=list.o message.o mainwin.o popwin.o zephyr.o messagelist.o commands.o \ |
---|
11 | global.o text.o fmtext.o editwin.o util.o logging.o readconfig.o keys.o \ |
---|
12 | functions.o zwrite.o viewwin.o help.o filter.o regex.o history.o view.o \ |
---|
13 | dict.o variable.o varstubs.o filterelement.o \ |
---|
14 | keypress.o keymap.o keybinding.o cmd.o context.o |
---|
15 | |
---|
16 | AUTOGEN=owl_prototypes.h varstubs.c |
---|
17 | |
---|
18 | owl: $(AUTOGEN) $(OBJS) owl.o |
---|
19 | $(CC) -o owl owl.o $(OBJS) $(LDFLAGS) $(LIBS) |
---|
20 | |
---|
21 | tester: $(AUTOGEN) $(OBJS) tester.o |
---|
22 | $(CC) -o tester tester.o $(OBJS) $(LDFLAGS) $(LIBS) |
---|
23 | |
---|
24 | test: tester |
---|
25 | ./tester reg |
---|
26 | |
---|
27 | clean: |
---|
28 | $(RM) *~ *.o owl tester core $(AUTOGEN) owl_prototypes.h.new |
---|
29 | |
---|
30 | distclean: clean |
---|
31 | $(RM) config.cache config.log config.status Makefile config.h TAGS |
---|
32 | |
---|
33 | proto: owl_prototypes.h |
---|
34 | |
---|
35 | |
---|
36 | varstubs.c: variable.c stubgen.pl |
---|
37 | perl stubgen.pl > varstubs.c |
---|
38 | |
---|
39 | # Only move owl_prototypes.h into place if the new one is different |
---|
40 | owl_prototypes.h: codelist.pl varstubs.c $(OBJS:.o=.c) |
---|
41 | perl codelist.pl > owl_prototypes.h.new |
---|
42 | @cmp -s owl_prototypes.h.new owl_prototypes.h || echo 'Interfaces changed!' |
---|
43 | @cmp -s owl_prototypes.h.new owl_prototypes.h || mv -f owl_prototypes.h.new owl_prototypes.h |
---|
44 | |
---|
45 | tags: |
---|
46 | etags *.[ch] |
---|
47 | |
---|
48 | *.o:: owl.h config.h owl_prototypes.h |
---|
Note: See
TracBrowser
for help on using the repository browser.