123456789101112131415161718192021222324252627282930313233343536 |
- Description: Use all buildflags as provided by dpkg
- Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
- Forwarded: no
- Last-Update: 2016-12-06
- --- a/makefile
- +++ b/makefile
- @@ -9,23 +9,21 @@
- mandir = ${sharedir}/man
-
- O=aoe.o bpf.o ${PLATFORM}.o ata.o
- -CFLAGS += -Wall -g -O2
- -CC = gcc
-
- vblade: $O
- - ${CC} -o vblade $O
- + ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o vblade $O
-
- aoe.o : aoe.c config.h dat.h fns.h makefile
- - ${CC} ${CFLAGS} -c $<
- + ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -c $<
-
- ${PLATFORM}.o : ${PLATFORM}.c config.h dat.h fns.h makefile
- - ${CC} ${CFLAGS} -c $<
- + ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -c $<
-
- ata.o : ata.c config.h dat.h fns.h makefile
- - ${CC} ${CFLAGS} -c $<
- + ${CC} $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c $<
-
- bpf.o : bpf.c
- - ${CC} ${CFLAGS} -c $<
- + ${CC} $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c $<
-
- config.h : config/config.h.in makefile
- @if ${CC} ${CFLAGS} config/u64.c > /dev/null 2>&1; then \
|