File: Makefile

package info (click to toggle)
mpdcron 0.3%2Bgit20110303-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,292 kB
  • ctags: 864
  • sloc: ansic: 12,466; ruby: 587; makefile: 157; 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