Makefiles changed
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@208 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
parent
c69e82f23e
commit
c560bfd00b
|
|
@ -1,8 +1,8 @@
|
|||
CC = gcc
|
||||
LD = gcc
|
||||
RM = rm
|
||||
CFLAGS = -c
|
||||
LDFLAS = -o
|
||||
CFLAGS = $(PackageFlags) -c
|
||||
LDFLAS = $(PackageFlags) -o
|
||||
LD_LIBS = -lm -lpq -lgd -lpng -lz -lfreetype
|
||||
#INCL = -I$$(pg_config --includedir)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
CC = gcc
|
||||
LD = gcc
|
||||
RM = rm
|
||||
CFLAGS = -c
|
||||
LDFLAS = -o
|
||||
CFLAGS = $(PackageFlags) -c
|
||||
LDFLAS = $(PackageFlags) -o
|
||||
INCL = -I$$(pg_config --includedir)
|
||||
|
||||
BIN_NAME = weather_checksensor
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
CC = gcc
|
||||
LD = gcc
|
||||
RM = rm
|
||||
CFLAGS = -c
|
||||
LDFLAS = -o
|
||||
CFLAGS = $(PackageFlags) -c
|
||||
LDFLAS = $(PackageFlags) -o
|
||||
INCL = -I$$(pg_config --includedir)
|
||||
|
||||
BIN_NAME = weatherdeamon
|
||||
|
|
|
|||
|
|
@ -18,13 +18,7 @@ export DH_OPTIONS
|
|||
|
||||
|
||||
|
||||
CFLAGS = -Wall -g
|
||||
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
PackageFlags= -Wall -O3
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
|
|
@ -41,7 +35,7 @@ build-arch: build-arch-stamp
|
|||
build-arch-stamp: configure-stamp
|
||||
|
||||
# Add here commands to compile the arch part of the package.
|
||||
$(MAKE)
|
||||
$(MAKE) PackageFlags="$(PackageFlags)"
|
||||
touch $@
|
||||
|
||||
build-indep: build-indep-stamp
|
||||
|
|
@ -83,7 +77,6 @@ install-arch:
|
|||
# Add here commands to install the arch part of the package into
|
||||
# debian/tmp.
|
||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/weatherstation
|
||||
|
||||
dh_install -s --sourcedir debian/weatherstation/
|
||||
# Must not depend on anything. This is to be called by
|
||||
# binary-arch/binary-indep
|
||||
|
|
|
|||
Loading…
Reference in New Issue