mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 11:48:23 -05:00
87098d3324
This is something I hadn't previously done, but there are cases where it's needed, e.g., building 'wlantest' and then one of the tests/fuzzing/*/ projects, they use a different configuration (fuzzing vs. not fuzzing). Perhaps more importantly, this gets rid of the last thing that was dumped into the source directories, apart from the binaries themselves. Note that due to the use of thin archives, this required building with absolute paths. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
24 lines
461 B
Makefile
24 lines
461 B
Makefile
ALL=json
|
|
include ../rules.include
|
|
|
|
OBJS += $(SRC)/utils/base64.o
|
|
OBJS += $(SRC)/utils/common.o
|
|
OBJS += $(SRC)/utils/json.o
|
|
OBJS += $(SRC)/utils/os_unix.o
|
|
OBJS += $(SRC)/utils/wpa_debug.o
|
|
OBJS += $(SRC)/utils/wpabuf.o
|
|
|
|
OBJS += json.o
|
|
|
|
_OBJS_VAR := OBJS
|
|
include ../../../src/objs.mk
|
|
|
|
_OBJS_VAR := LIBS
|
|
include ../../../src/objs.mk
|
|
|
|
json: $(OBJS) $(LIBS)
|
|
$(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS)
|
|
|
|
clean: common-clean
|
|
rm -f json *~ *.o *.d ../*~ ../*.o ../*.d
|