--- fotoxx-15.02.old/Makefile +++ fotoxx-15.02/Makefile @@ -3,24 +3,23 @@ FOTOXX = fotoxx-15.02.cc # defaults for parameters that may be pre-defined -CXXFLAGS += -Wall -ggdb -LDFLAGS += -rdynamic -PREFIX ?= /usr CPPFLAGS ?= -O2 +CXXFLAGS ?= -O2 +LDFLAGS ?= -rdynamic +PREFIX = __META_PREFIX__ # target install directories -BINDIR = $(PREFIX)/bin -SHAREDIR = $(PREFIX)/share/fotoxx -DATADIR = $(SHAREDIR)/data -ICONDIR = $(SHAREDIR)/icons -LOCALESDIR = $(SHAREDIR)/locales -DOCDIR = $(PREFIX)/share/doc/fotoxx -MANDIR = $(PREFIX)/share/man/man1 APPDATADIR = $(PREFIX)/share/appdata -MENUFILE = $(PREFIX)/share/applications/fotoxx.desktop +BINDIR = $(PREFIX)/bin +DATADIR = $(PREFIX)/data +DOCDIR = $(PREFIX)/doc +MANDIR = $(PREFIX)/man/man1 +SHAREDIR = $(PREFIX)/share/fotoxx +ICONDIR = $(SHAREDIR)/icons +LOCALESDIR = $(SHAREDIR)/locales +MENUFILE = $(PREFIX)/share/applications/fotoxx.desktop CFLAGS = $(CXXFLAGS) $(CPPFLAGS) -c `pkg-config --cflags gtk+-3.0` - LIBS = `pkg-config --libs gtk+-3.0` -lpthread -ltiff -lpng -llcms2 ALLFILES = fotoxx.o f.file.o f.gallery.o f.tools.o f.slideshow.o f.area.o f.metadata.o \ @@ -105,5 +104,3 @@ clean: rm -f fotoxx rm -f *.o - -