mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
0430bc8267
Clean up in a more common fashion as well, initially for ../src/. Also add $(Q) to the clean target in src/ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
34 lines
602 B
Makefile
34 lines
602 B
Makefile
ALL=radius_example
|
|
|
|
include ../src/build.rules
|
|
|
|
CFLAGS += -I.
|
|
CFLAGS += -I../src
|
|
CFLAGS += -I../src/utils
|
|
|
|
LIBS = ../src/radius/libradius.a
|
|
LIBS += ../src/crypto/libcrypto.a
|
|
LIBS += ../src/utils/libutils.a
|
|
LLIBS = -lrt
|
|
|
|
../src/utils/libutils.a:
|
|
$(MAKE) -C ../src/utils
|
|
|
|
../src/crypto/libcrypto.a:
|
|
$(MAKE) -C ../src/crypto
|
|
|
|
../src/radius/libradius.a:
|
|
$(MAKE) -C ../src/radius
|
|
|
|
#CLAGS += -DCONFIG_IPV6
|
|
|
|
OBJS_ex = radius_example.o
|
|
|
|
radius_example: $(OBJS_ex) $(LIBS)
|
|
$(LDO) $(LDFLAGS) -o radius_example $(OBJS_ex) $(LIBS) $(LLIBS)
|
|
|
|
clean: common-clean
|
|
rm -f core *~ *.o *.d
|
|
|
|
-include $(OBJS:%.o=%.d)
|