Makefile 827 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. include $(MAGPIE_ROOT)/build/make_opt/Makefile.h
  2. #
  3. # Sub-system source main path
  4. #
  5. # !!Customize!!
  6. #export LAYERNAME = ram
  7. export SSNAME = wlan
  8. #
  9. # Sub-system source main path
  10. #
  11. export SSMPATH = $(MAGPIE_ROOT)/target/$(SSNAME)
  12. #
  13. # Sub-system object search path for GNU tool chain
  14. #
  15. # !!Customize!!
  16. export SSOBJPATH = $(PRJ_ROOT)/$(TARGET)/$(SSNAME)/obj
  17. #
  18. # Sub-system/module list at this layer
  19. #
  20. # !!Customize!!
  21. SUBDIRS = .
  22. #
  23. # Archive for this package
  24. #
  25. # !!Customize!!
  26. export L_TARGET = $(LIB_PATH)/libwlan.a
  27. #
  28. # Targets
  29. #
  30. all:
  31. for i in $(SUBDIRS) ; do $(MAKE) -C $$i -f Makefile.ss all || exit $?; done
  32. # ar -rcs $(L_TARGET) `find . -name "*.o"`
  33. dep:
  34. for i in $(SUBDIRS) ; do $(MAKE) -C $$i -f Makefile.ss dep || exit $?; done
  35. clean:
  36. $(MAKE) clean -f Makefile.ss
  37. init:
  38. $(MAKE) -f Makefile.ss init