Small makefile fix

This commit is contained in:
Markus Gans 2017-02-06 02:21:40 +01:00
parent e369a11d1a
commit a67eeaa94f
8 changed files with 15 additions and 10 deletions

View File

@ -4,6 +4,10 @@
PREFIX="/usr" PREFIX="/usr"
case "$1" in case "$1" in
"--release"|"release")
./configure --prefix="$PREFIX"
;;
"--debug"|"debug") "--debug"|"debug")
./configure --prefix="$PREFIX" CPPFLAGS="-DDEBUG" CXXFLAGS="-g -O0 -DDEBUG -W -Wall -pedantic" ./configure --prefix="$PREFIX" CPPFLAGS="-DDEBUG" CXXFLAGS="-g -O0 -DDEBUG -W -Wall -pedantic"
;; ;;
@ -24,22 +28,18 @@ case "$1" in
./configure --prefix="$PREFIX" CXXFLAGS="-fprofile-arcs -ftest-coverage" ./configure --prefix="$PREFIX" CXXFLAGS="-fprofile-arcs -ftest-coverage"
;; ;;
"--release"|"release")
./configure --prefix="$PREFIX"
;;
"--help"|"help"|*) "--help"|"help"|*)
echo "Usage:" echo "Usage:"
echo " $(basename "$0") {COMMAND}" echo " $(basename "$0") {COMMAND}"
echo "" echo ""
echo "Commands:" echo "Commands:"
echo " help Show this help" echo " release Compile for release"
echo " debug Compile with debug option" echo " debug Compile with debug option"
echo " fulldebug Compile with all warning options" echo " fulldebug Compile with all warning options"
echo " profile Compile with profile option (analysis with gprof)" echo " profile Compile with profile option (analysis with gprof)"
echo " cpu-profiler Link with Google cpu performance profiler" echo " cpu-profiler Link with Google cpu performance profiler"
echo " gcov Compile with options for coverage analysis with gcov" echo " gcov Compile with options for coverage analysis with gcov"
echo " release Compile for release" echo " help Show this help"
exit 1 exit 1
;; ;;
esac esac

View File

@ -1,2 +1,3 @@
usr/lib/*/lib*.so
usr/lib/*/lib*.so.* usr/lib/*/lib*.so.*

View File

@ -89,8 +89,9 @@ finalcutinclude_HEADERS = \
fstatusbar.h \ fstatusbar.h \
fstring.h \ fstring.h \
ftcap_map.h \ ftcap_map.h \
ftermcap.h \
fterm.h \ fterm.h \
fvterm.cpp \ fvterm.h \
ftextview.h \ ftextview.h \
ftogglebutton.h \ ftogglebutton.h \
fwidget.h \ fwidget.h \

View File

@ -38,6 +38,7 @@ INCLUDE_HEADERS = \
fscrollview.h \ fscrollview.h \
fstatusbar.h \ fstatusbar.h \
fstring.h \ fstring.h \
ftermcap.h \
fterm.h \ fterm.h \
fvterm.h \ fvterm.h \
ftextview.h \ ftextview.h \

View File

@ -38,6 +38,7 @@ INCLUDE_HEADERS = \
fscrollview.h \ fscrollview.h \
fstatusbar.h \ fstatusbar.h \
fstring.h \ fstring.h \
ftermcap.h \
fterm.h \ fterm.h \
fvterm.h \ fvterm.h \
ftextview.h \ ftextview.h \

View File

@ -452,8 +452,9 @@ finalcutinclude_HEADERS = \
fstatusbar.h \ fstatusbar.h \
fstring.h \ fstring.h \
ftcap_map.h \ ftcap_map.h \
ftermcap.h \
fterm.h \ fterm.h \
fvterm.cpp \ fvterm.h \
ftextview.h \ ftextview.h \
ftogglebutton.h \ ftogglebutton.h \
fwidget.h \ fwidget.h \

View File

@ -12,7 +12,7 @@ OBJS = $(SRCS:%.cpp=%)
CCXFLAGS = $(OPTIMIZE) $(PROFILE) $(DEBUG) CCXFLAGS = $(OPTIMIZE) $(PROFILE) $(DEBUG)
MAKEFILE = -f Makefile.clang MAKEFILE = -f Makefile.clang
LDFLAGS = -L../src -lfinal LDFLAGS = -L../src -lfinal
INCLUDES = -I../src INCLUDES = -I../src -I/usr/include/final/
RM = rm -f RM = rm -f
ifdef DEBUG ifdef DEBUG

View File

@ -12,7 +12,7 @@ OBJS = $(SRCS:%.cpp=%)
CCXFLAGS = $(OPTIMIZE) $(PROFILE) $(DEBUG) CCXFLAGS = $(OPTIMIZE) $(PROFILE) $(DEBUG)
MAKEFILE = -f Makefile.gcc MAKEFILE = -f Makefile.gcc
LDFLAGS = -L../src -lfinal LDFLAGS = -L../src -lfinal
INCLUDES = -I../src INCLUDES = -I../src -I/usr/include/final/
RM = rm -f RM = rm -f
ifdef DEBUG ifdef DEBUG