[Listener] Fix OWLPSFLAGS in Makefiles

Makefiles declared an OWLPSFLAGS variable for compilation-time option,
but did not include it in the compilation command. This is now fixed.
This commit is contained in:
Matteo Cypriani 2010-10-20 17:18:43 +02:00
parent 10e3bb7ab0
commit ed7828a339
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ TARGET=owlps-listenerd
HEADER=owlps-listener.h
# Flags
CFLAGS = -O2 -W -Wall -Wstrict-prototypes -O -I.
CFLAGS = -O2 -W -Wall -Wstrict-prototypes -I.
DEPFLAGS = -MMD
XCFLAGS = $(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS)
PICFLAG = -fPIC
@ -40,7 +40,7 @@ all : $(TARGET)
$(CC) $(STRIPFLAGS) $(XCFLAGS) -o $@ $^ $(LDFLAGS)
%.o : %.c $(HEADER)
$(CC) $(XCFLAGS) -c $<
$(CC) $(XCFLAGS) $(OWLPSFLAGS) -c $<
## Installation / désinstallation ##

View File

@ -23,7 +23,7 @@ TARGET=owlps-listenerd
HEADER=owlps-listener.h
# Flags
CFLAGS = -O2 -W -Wall -Wstrict-prototypes -O -I.
CFLAGS = -O2 -W -Wall -Wstrict-prototypes -I.
DEPFLAGS = -MMD
XCFLAGS = $(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS)
PICFLAG = -fPIC
@ -59,7 +59,7 @@ all: dynamic semistatic static
$(CC) $(STRIPFLAGS) $(XCFLAGS) -o $@ $^ $(LOWLPS) $(IATHEROS) $(LATHEROS) $(LDFLAGS) -static
%.o: %.c $(HEADER)
$(CC) $(XCFLAGS) $(IATHEROS) -c $<
$(CC) $(XCFLAGS) $(IATHEROS) $(OWLPSFLAGS) -c $<
## Installation / désinstallation ##