Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b13bea9710
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (24 sloc) 0.81 kb
CFLAGS = -O3 -Wall $(shell gimptool-2.0 --cflags && pkg-config --cflags lensfun exiv2) -fopenmp
LIBS = $(shell gimptool-2.0 --libs && pkg-config --libs lensfun exiv2)
PLUGIN = gimplensfun
SOURCES = src/gimplensfun.c
CC = g++
# LD = gcc-4.4
# END CONFIG ##################################################################
.PHONY: all install userinstall clean uninstall useruninstall
all: $(PLUGIN)
OBJECTS = $(subst .c,.o,$(SOURCES))
$(PLUGIN): $(OBJECTS)
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
%.o: %.c $(HEADERS)
$(CC) $(CFLAGS) -c -o $@ $*.c
install: $(PLUGIN)
@gimptool-2.0 --install-admin-bin $^
userinstall: $(PLUGIN)
@gimptool-2.0 --install-bin $^
uninstall:
@gimptool-2.0 --uninstall-admin-bin $(PLUGIN)
useruninstall:
@gimptool-2.0 --uninstall-bin $(PLUGIN)
clean:
rm -f src/*.o $(PLUGIN)
Jump to Line
Something went wrong with that request. Please try again.