Small makefile fix
This commit is contained in:
parent
e369a11d1a
commit
a67eeaa94f
12
build.sh
12
build.sh
|
@ -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
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
usr/lib/*/lib*.so
|
||||||
usr/lib/*/lib*.so.*
|
usr/lib/*/lib*.so.*
|
||||||
|
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue