wificurse

wifi jamming tool
git clone git://git.2f30.org/wificurse.git
Log | Files | Refs | README | LICENSE

commit 221bf817b81c2b3ff25abb70caa8135ada8a83a0
parent decf74197a0595b7d4bbea869ca2193971569928
Author: oblique <psyberbits@gmail.com>
Date:   Thu Jun 21 23:44:28 -0700

Merge pull request #1 from dastergon/master

Makefile changes
Diffstat:
Makefile | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,12 +1,12 @@ -PREFIX ?= /usr/local -CC = $(CROSS_COMPILE)gcc -CFLAGS ?= -O2 +PREFIX ?= /usr +CC ?= $(CROSS_COMPILE)gcc +CFLAGS += -pthread SRCS = $(wildcard src/*.c) HDRS = $(wildcard src/*.h) OBJS = $(SRCS:%.c=%.o) -LIBS = -lpthread +LIBS = .PHONY: clean all install @@ -20,7 +20,7 @@ endif all: wificurse wificurse: $(OBJS) - $(CC) $(LIBS) $(LDFLAGS) $(OBJS) -o $@ + $(CC) ${CFLAGS} $(LDFLAGS) $(LIBS) $(OBJS) -o $@ %.o: %.c $(HDRS) $(CC) $(CFLAGS) -c $< -o $@