File: Makefile

package info (click to toggle)
wiipdf 1.4-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 80 kB
  • sloc: ansic: 93; makefile: 78
file content (23 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CFLAGS+=-O2
CFLAGS+=-Wall
CFLAGS+=-Werror
CFLAGS+=-D_GNU_SOURCE -g

LDFLAGS+=-lcwiid
LDFLAGS+=-lbluetooth

all: wiipdf

wiipdf: wiipdf.c
	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)

clean:
	rm -f wiipdf

distclean: clean

install: wiipdf
	install -d -m 755 $(DESTDIR)/usr/bin
	install -d -m 755 $(DESTDIR)/usr/share/man/man1
	install -m 755 wiipdf $(DESTDIR)/usr/bin/wiipdf
	install -m 644 wiipdf.1 $(DESTDIR)/usr/share/man/man1/wiipdf.1