Mercurial > cgi-bin > hgweb.cgi > JpegWasher
view Makefile.linux @ 38:d794ef80f9b0
Remove more deadwood.
author | David Barts <n5jrn@me.com> |
---|---|
date | Fri, 01 May 2020 11:52:46 -0700 |
parents | bcbc92ffe0d0 |
children |
line wrap: on
line source
CXX = g++ CXXFLAGS = -shared -fPIC -I$(JRE_HOME)/include -I$(JRE_HOME)/include/linux NDIR = src/name/blackcap/exifwasher/exiv2 BDIR = src/name/blackcap/exifwasher/binaries/linux .PHONY: all checkenv all: mkdirs checkenv $(BDIR)/libjni.so $(BDIR)/libexiv2.so mkdirs: @[ -d "$(BDIR)" ] || mkdir -p "$(BDIR)" checkenv: @if [ -z "$(JRE_HOME)" ]; then \ 1>&2 echo "JRE_HOME not set"; \ exit 1; \ fi $(BDIR)/libjni.so: $(NDIR)/native.cpp $(CXX) $(CXXFLAGS) -o $@ $< -lexiv2 $(BDIR)/libexiv2.so: /usr/lib/x86_64-linux-gnu/libexiv2.so cp -fp $< $@