File: Makefile

package info (click to toggle)
mpdcron 0.3%2Bgit20161228-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 1,304 kB
  • sloc: ansic: 12,825; ruby: 587; makefile: 178; sh: 95
file content (13 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Makefile for example module
example.so: example.c
	$(CC) -fPIC -shared -Wall -W -Wextra \
		$(CFLAGS) $(LDFLAGS) \
		$(shell pkg-config --cflags --libs glib-2.0) \
		$(shell pkg-config --cflags --libs libmpdclient) \
		$< -o $@
clean:
	rm example.so || true
install:
	install -m644 -s example.so ~/.mpdcron/modules
uninstall:
	rm ~/.mpdcron/modules/example.so || true