File: Makefile

package info (click to toggle)
dmx4linux 2.5%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,660 kB
  • ctags: 2,835
  • sloc: ansic: 23,341; yacc: 918; asm: 846; makefile: 614; sh: 439
file content (23 lines) | stat: -rw-r--r-- 458 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
include ../config.mk

CFLAGS+=	-fPIC `xmms-config --cflags`
LDFLAGS+=	-shared -fPIC
LIBS+=		-lpthread `xmms-config --libs` -ldmx4linux
TARGET=		dmx4l_spectrum.so
TARGETDIR=	`xmms-config --visualization-plugin-dir`

all:	$(TARGET)

$(TARGET): dmx4l_spectrum.o 
	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)

install:	$(TARGET)
	install -m 755 $(TARGET) $(TARGETDIR)

clean:
	rm -f *.o core $(TARGET)

distclean: clean uninstall

uninstall:
	rm -f $(TARGETDIR)/$(TARGET)