summaryrefslogtreecommitdiff
path: root/Makefile
blob: d384d0316135ec415f9de9af68746d04923be856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
plugindir = `xine-config --plugindir`
CFLAGS = -Wall -g -O0 -fPIC -shared `xine-config --cflags`
LIBS = -lppswrapper `xine-config --libs`
LDFLAGS = -shared
plugin = xineplug_inp_pps.so

all: $(plugin)

.c.o:
	$(CC) -o $@ $< $(CFLAGS)

$(plugin): input_pps.o
	$(CC) -o $@ $< $(LIBS) $(LDFLAGS)

install: $(plugin)
	install $< $(plugindir)

clean:
	-rm *.o
	-rm *.so