10 |
|
# where libstatgrab can be found for compiling |
11 |
|
LIBSTATGRAB = libstatgrab |
12 |
|
|
13 |
< |
CFLAGS = -O3 -Wall |
13 |
> |
#CFLAGS = -O3 -Wall |
14 |
> |
CFLAGS = -O3 -Wall -g |
15 |
|
|
16 |
|
INCLUDES = -I${LIBUKCPROG} -I${LIBSTATGRAB} |
17 |
|
OURLIBS = ${LIBSTATGRAB}/libstatgrab.a ${LIBUKCPROG}/libukcprog.a |
24 |
|
@echo " $(MAKE) oldlinux" |
25 |
|
|
26 |
|
${LIBUKCPROG}/libukcprog.a: |
27 |
< |
cd ${LIBUKCPROG} && $(MAKE) libukcprog.a |
27 |
> |
cd ${LIBUKCPROG} && $(MAKE) libukcprog.a CFLAGS="${CFLAGS}" |
28 |
|
|
29 |
|
${LIBSTATGRAB}/libstatgrab.a: |
30 |
< |
cd ${LIBSTATGRAB} && $(MAKE) libstatgrab.a DEFS="${DEFS}" |
30 |
> |
cd ${LIBSTATGRAB} && $(MAKE) libstatgrab.a DEFS="${DEFS}" CFLAGS="${CFLAGS}" |
31 |
|
|
32 |
|
ihost.o: ihost.c ${LIBUKCPROG}/ukcprog.h ${LIBSTATGRAB}/statgrab.h |
33 |
|
${CC} ${DEFS} ${CFLAGS} -c ${INCLUDES} ihost.c |