File: common.mk

package info (click to toggle)
gimp-plugin-registry 9.20240808
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 52,536 kB
  • sloc: ansic: 27,119; lisp: 20,560; python: 14,721; cpp: 2,528; sh: 2,220; makefile: 635; xml: 21
file content (15 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
GIMPTOOL = /usr/bin/gimptool-2.0

%: %.c
	CFLAGS="$(CFLAGS) $(EXTRA_CFLAGS)" LDFLAGS="$(LFGLAGS) $(EXTRA_LDFLAGS) -lm" $(GIMPTOOL) --build $<

build: $(PLUGIN)

install: build
	mkdir -p $(DESTDIR)/$(PLUGINBINDIR)
	install -m 755 $(PLUGIN) $(DESTDIR)/$(PLUGINBINDIR)

clean:
	rm -f $(PLUGIN)

.PHONY: install clean build