-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (30 loc) · 761 Bytes
/
Makefile
File metadata and controls
37 lines (30 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# libuwifi - Userspace Wifi Library
#
# Copyright (C) 2005-2016 Bruno Randolf (br1@einfach.org)
#
# This program is licensed under the GNU Lesser General Public License,
# Version 3. See the file COPYING for more details.
NAME = libuwifi
# build options
DEBUG = 0
PLATFORM = linux
SRC += core/channel.c
SRC += core/inject.c
SRC += core/node.c
SRC += core/wlan_parser.c
SRC += core/wlan_util.c
SRC += core/essid.c
SRC += util/average.c
SRC += util/util.c
ifeq ($(DEBUG),1)
SRC += core/cc_list.c
endif
INCLUDES += -I. -I./include/uwifi -I./$(PLATFORM)
CFLAGS += -std=gnu99 -Wall -Wextra -g
DEFS += -DDEBUG=$(DEBUG)
CHECK_FLAGS += -D__linux__
all: lib-static lib-dynamic
check:
clean:
include $(PLATFORM)/platform.mk
include Makefile.default