File: Makefile.in

package info (click to toggle)
pdfresurrect 0.12-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 336 kB
  • ctags: 115
  • sloc: ansic: 1,211; makefile: 50
file content (32 lines) | stat: -rw-r--r-- 611 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
APP = pdfresurrect
MANPAGE = pdfresurrect.1
OBJS = main.o pdf.o
CC = @CC@
CFLAGS = @CFLAGS@ @CPPFLAGS@ $(EXTRA_CFLAGS)
LDFLAGS = @LDFLAGS@
PREFIX = @prefix@

all: $(OBJS) $(APP)

$(APP): $(OBJS)
	$(CC) -o $@ $(OBJS) $(CFLAGS) $(LDFLAGS)

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

install:
	cp $(APP) $(DESTDIR)$(PREFIX)/bin/
	cp $(MANPAGE) $(DESTDIR)$(PREFIX)/share/man/man1/

uninstall:
	rm $(DESTDIR)$(PREFIX)/bin/$(APP)
	rm $(DESTDIR)$(PREFIX)/share/man/man1/$(MANPAGE)

clean:
	rm -rfv $(OBJS) $(APP)

distclean: clean
	rm -f Makefile
	rm -f config.log config.status

.PHONY: install uninstall clean distclean