File: Makefile

package info (click to toggle)
xmms2 0.8%2Bdfsg-28
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 14,216 kB
  • sloc: ansic: 63,803; python: 15,537; cpp: 5,718; xml: 1,479; perl: 338; ruby: 243; makefile: 79; sh: 59; asm: 7
file content (23 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
LIBS=`pkg-config --libs xmms2-client`
GLIB=`pkg-config --libs xmms2-client-glib` `pkg-config --libs glib-2.0`

all: tut1 tut2 tut3 tut4 tut5 tut6 tut7 tut8

%.o: %.c
	gcc `pkg-config --cflags xmms2-client glib-2.0` -Wall -c -o $@ $< 

tut%: tut%.o
	gcc -o $@ $< $(LIBS)

tut6: tut6.o
	gcc -o $@ $< $(LIBS) $(GLIB)

tut7: tut7.o
	gcc -o $@ $< $(LIBS) $(GLIB)

tut8: tut8.o
	gcc -o $@ $< $(LIBS) $(GLIB)

clean:
	rm -f tut? *.o