File: Makefile

package info (click to toggle)
gimp-plugin-registry 5.20120621
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 56,020 kB
  • sloc: ansic: 46,068; lisp: 20,560; python: 14,495; sh: 3,294; cpp: 2,528; makefile: 1,041; xml: 546
file content (24 lines) | stat: -rw-r--r-- 661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

CC=gcc

build: build-stamp
build-stamp:
	set -e; cd build; $(CC) *.c $(CFLAGS) `pkg-config --cflags gimp-2.0 gtk+-2.0` \
			        -I/usr/include/atlas \
				-L/usr/lib/libblas -L/usr/lib/lapack -lblas -llapack -lm \
	                        $(LDFLAGS) \
	                        `pkg-config --libs gimp-2.0 gtk+-2.0`  \
	                        -o refocus
	touch build-stamp

clean:
	rm -f build-stamp
	rm -f build/*.o build/refocus

install:
	install -m 755 build/refocus $(DESTDIR)$(PLUGINBINDIR)
	install -m 755 -d $(DESTDIR)$(DOCDIR)
	install -m 644 src/doc/doc.html $(DESTDIR)$(DOCDIR)
	install -m 644 src/doc/doc.pdf $(DESTDIR)$(DOCDIR)

.PHONY: clean