1 all: 2 @echo Nothing to be made. 3 4 clean: 5 for d in $(SUBDIRS); do make -C $$d clean; done 6 rm -f *~ *.o *.so *.d 7 8 install: 9 if ls *.so >/dev/null 2>&1; then \ 10 install -d $(DESTDIR)$(LIBDIR)/wpa_supplicant && \ 11 cp *.so $(DESTDIR)$(LIBDIR)/wpa_supplicant \ 12 ; fi 13