--- Makefile.orig 2016-08-03 02:19:58 UTC +++ Makefile @@ -2,15 +2,13 @@ SHELL=/bin/sh VERSION=$(shell awk '/^[0-9]*\.[^ \t]/ {print $$1; exit(0);}' CHANGES.txt) -FLTK_DIR=/usr/local/src/fltk-1.3.x-svn - # FLTK BUILD -CXX = $(shell $(FLTK_DIR)/fltk-config --cxx) -CC = $(shell $(FLTK_DIR)/fltk-config --cxx) +CXX = $(shell fltk-config --cxx) +CC = $(shell fltk-config --cxx) DEBUG = -g -CXXFLAGS = $(shell $(FLTK_DIR)/fltk-config --cxxflags ) -I. -DVERSION=\"$(VERSION)\" -Wall +CXXFLAGS = $(shell fltk-config --cxxflags ) -I. -DVERSION=\"$(VERSION)\" -Wall CFLAGS = -Wall -LDLIBS = $(shell $(FLTK_DIR)/fltk-config --ldstaticflags ) +LDLIBS = $(shell fltk-config --ldstaticflags ) LINK = $(CXX) OS = $(shell uname -s) @@ -30,7 +28,6 @@ all: flruler docs flruler: flruler.o $(LINK) flruler.o -o flruler $(LDLIBS) - strip flruler ifeq ($(OS),Darwin) echo Creating flruler.app rm -rf flruler.app