[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:
parent
10e3bb7ab0
commit
ed7828a339
|
@ -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 ##
|
||||
|
|
|
@ -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 ##
|
||||
|
|
Loading…
Reference in New Issue