public
Description: Lightweight console-based radio player for Last.FM radio streams.
Homepage: http://nex.scrapping.cc/code/shell-fm/
Clone URL: git://github.com/jkramer/shell-fm.git
Search Repo:
added make tags and cscope targets
bartman (author)
Sat Apr 26 08:12:18 -0700 2008
jkramer (committer)
Sat Apr 26 09:54:02 -0700 2008
commit  6ba473c6cad77554d2aa281f5577498e210ed03e
tree    50fbdf38b85f17e01f674dc54a38ba971aeb6e01
parent  72bff1f2748d2237de9a3e59592cd88af1a4df02
...
2
3
4
5
 
6
7
8
...
32
33
34
 
 
 
 
 
 
 
 
 
 
 
...
2
3
4
 
5
6
7
8
...
32
33
34
35
36
37
38
39
40
41
42
43
44
45
0
@@ -2,7 +2,7 @@
0
 DESTDIR  := /usr
0
 MANDIR  := $(DESTDIR)/man
0
 
0
-.PHONY      : shell-fm manual all clean
0
+.PHONY      : shell-fm manual all clean tags cscope
0
 
0
 all        : shell-fm manual
0
 
0
@@ -32,4 +32,15 @@
0
 clean      :
0
   ${MAKE} -C source clean
0
   ${MAKE} -C manual clean
0
+
0
+
0
+tags    : cscope.files
0
+  @rm -f tags
0
+  xargs -n50 ctags -a < cscope.files
0
+
0
+cscope    : cscope.files
0
+  cscope -b
0
+
0
+cscope.files  :
0
+  find source -name '*.[ch]' > cscope.files
...
6
7
8
9
 
10
11
12
13
14
15
 
 
 
...
6
7
8
 
9
10
11
12
13
14
15
16
17
18
0
@@ -6,11 +6,14 @@
0
 LIBAO  := $(shell pkg-config --exists ao && echo -DLIBAO)
0
 override CFLAGS += -Os -Wall -W -I./include/ $(LIBAO)
0
 
0
-.PHONY: clean
0
+.PHONY: clean tags cscope
0
 
0
 shell-fm  : $(OBJECT)
0
   gcc -o $(BINARY) $(CFLAGS) $(OBJECT) $(shell pkg-config mad --libs) $(LDFLAGS)
0
 
0
 clean    :
0
   rm -f $(OBJECT) $(BINARY)
0
+
0
+tags cscope  :
0
+  ${MAKE} -C .. $@

Comments

    No one has commented yet.