Makefile 547 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. all: libutils.a
  2. clean:
  3. rm -f *~ *.o *.d libutils.a
  4. install:
  5. @echo Nothing to be made.
  6. include ../lib.rules
  7. #CFLAGS += -DWPA_TRACE
  8. CFLAGS += -DCONFIG_IPV6
  9. LIB_OBJS= \
  10. base64.o \
  11. common.o \
  12. ip_addr.o \
  13. radiotap.o \
  14. trace.o \
  15. uuid.o \
  16. wpa_debug.o \
  17. wpabuf.o
  18. # Pick correct OS wrapper implementation
  19. LIB_OBJS += os_unix.o
  20. # Pick correct event loop implementation
  21. LIB_OBJS += eloop.o
  22. # Pick correct edit implementation
  23. LIB_OBJS += edit.o
  24. #LIB_OBJS += pcsc_funcs.o
  25. libutils.a: $(LIB_OBJS)
  26. $(AR) crT $@ $?
  27. -include $(OBJS:%.o=%.d)