Update for new config/scripts

This commit is contained in:
Laurence Withers 2006-12-08 16:21:38 +00:00
parent aacb01917c
commit 7f6786c908
2 changed files with 4 additions and 20 deletions

View File

@ -8,25 +8,9 @@
# This file is the script used to build @P@. There are some
# options that can be edited; these are set below (or you can pass them
# in as variables).
[ -z "${CC}" ] && CC="gcc"
[ -z "${CXX}" ] && CXX="g++"
[ -z "${CFLAGS}" ] && CFLAGS="-g -O2 -W -Wall"
[ -z "${PREFIX}" ] && PREFIX="/usr/local"
[ -z "${LIBDIR}" ] && LIBDIR="${PREFIX}/lib"
[ -z "${BINDIR}" ] && BINDIR="${PREFIX}/bin"
[ -z "${INCLUDEDIR}" ] && INCLUDEDIR="${PREFIX}/include"
[ -z "${DOCSDIR}" ] && DOCSDIR="${PREFIX}/share/doc/@P@"
# for pkg-config
[ -z "${PKGCONFDIR}" ] && PKGCONFDIR="${LIBDIR}/pkgconfig"
[ -z "${FINALLIBDIR}" ] && FINALLIBDIR="${LIBDIR}"
[ -z "${FINALINCLUDEDIR}" ] && FINALINCLUDEDIR="${INCLUDEDIR}"
# for SDCC-built firmware
[ -z "${HEXDIR}" ] && HEXDIR="${PREFIX}/share/firmware"
[ -z "${SDCC}" ] && SDCC="sdcc"
# options that can be edited; these are set in the file 'config' (or you
# can pass them in as environment variables).
source config || exit 1

View File

@ -1,12 +1,12 @@
build.app.c
build.app.c++
build.app.c++-qt
build.docs.doxygen
build.files.none
build.firmware.gpasm
build.firmware.sdcc
build.lib.c
build.lib.c++
build.qtapp.c++
build.tests.c
build.tests.c++
module-create.sh