Small makefile fix
This commit is contained in:
parent
e369a11d1a
commit
a67eeaa94f
12
build.sh
12
build.sh
|
@ -4,6 +4,10 @@
|
|||
PREFIX="/usr"
|
||||
|
||||
case "$1" in
|
||||
"--release"|"release")
|
||||
./configure --prefix="$PREFIX"
|
||||
;;
|
||||
|
||||
"--debug"|"debug")
|
||||
./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"
|
||||
;;
|
||||
|
||||
"--release"|"release")
|
||||
./configure --prefix="$PREFIX"
|
||||
;;
|
||||
|
||||
"--help"|"help"|*)
|
||||
echo "Usage:"
|
||||
echo " $(basename "$0") {COMMAND}"
|
||||
echo ""
|
||||
echo "Commands:"
|
||||
echo " help Show this help"
|
||||
echo " release Compile for release"
|
||||
echo " debug Compile with debug option"
|
||||
echo " fulldebug Compile with all warning options"
|
||||
echo " profile Compile with profile option (analysis with gprof)"
|
||||
echo " cpu-profiler Link with Google cpu performance profiler"
|
||||
echo " gcov Compile with options for coverage analysis with gcov"
|
||||
echo " release Compile for release"
|
||||
echo " help Show this help"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
usr/lib/*/lib*.so
|
||||
usr/lib/*/lib*.so.*
|
||||
|
||||
|
|
|
@ -89,8 +89,9 @@ finalcutinclude_HEADERS = \
|
|||
fstatusbar.h \
|
||||
fstring.h \
|
||||
ftcap_map.h \
|
||||
ftermcap.h \
|
||||
fterm.h \
|
||||
fvterm.cpp \
|
||||
fvterm.h \
|
||||
ftextview.h \
|
||||
ftogglebutton.h \
|
||||
fwidget.h \
|
||||
|
|
|
@ -38,6 +38,7 @@ INCLUDE_HEADERS = \
|
|||
fscrollview.h \
|
||||
fstatusbar.h \
|
||||
fstring.h \
|
||||
ftermcap.h \
|
||||
fterm.h \
|
||||
fvterm.h \
|
||||
ftextview.h \
|
||||
|
|
|
@ -38,6 +38,7 @@ INCLUDE_HEADERS = \
|
|||
fscrollview.h \
|
||||
fstatusbar.h \
|
||||
fstring.h \
|
||||
ftermcap.h \
|
||||
fterm.h \
|
||||
fvterm.h \
|
||||
ftextview.h \
|
||||
|
|
|
@ -452,8 +452,9 @@ finalcutinclude_HEADERS = \
|
|||
fstatusbar.h \
|
||||
fstring.h \
|
||||
ftcap_map.h \
|
||||
ftermcap.h \
|
||||
fterm.h \
|
||||
fvterm.cpp \
|
||||
fvterm.h \
|
||||
ftextview.h \
|
||||
ftogglebutton.h \
|
||||
fwidget.h \
|
||||
|
|
|
@ -12,7 +12,7 @@ OBJS = $(SRCS:%.cpp=%)
|
|||
CCXFLAGS = $(OPTIMIZE) $(PROFILE) $(DEBUG)
|
||||
MAKEFILE = -f Makefile.clang
|
||||
LDFLAGS = -L../src -lfinal
|
||||
INCLUDES = -I../src
|
||||
INCLUDES = -I../src -I/usr/include/final/
|
||||
RM = rm -f
|
||||
|
||||
ifdef DEBUG
|
||||
|
|
|
@ -12,7 +12,7 @@ OBJS = $(SRCS:%.cpp=%)
|
|||
CCXFLAGS = $(OPTIMIZE) $(PROFILE) $(DEBUG)
|
||||
MAKEFILE = -f Makefile.gcc
|
||||
LDFLAGS = -L../src -lfinal
|
||||
INCLUDES = -I../src
|
||||
INCLUDES = -I../src -I/usr/include/final/
|
||||
RM = rm -f
|
||||
|
||||
ifdef DEBUG
|
||||
|
|
Loading…
Reference in New Issue