Makefile 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # Copyright (c) by egnite GmbH
  2. #
  3. # All rights reserved.
  4. #
  5. # Redistribution and use in source and binary forms, with or without
  6. # modification, are permitted provided that the following conditions
  7. # are met:
  8. #
  9. # 1. Redistributions of source code must retain the above copyright
  10. # notice, this list of conditions and the following disclaimer.
  11. # 2. Redistributions in binary form must reproduce the above copyright
  12. # notice, this list of conditions and the following disclaimer in the
  13. # documentation and/or other materials provided with the distribution.
  14. # 3. Neither the name of the copyright holders nor the names of
  15. # contributors may be used to endorse or promote products derived
  16. # from this software without specific prior written permission.
  17. #
  18. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  19. # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  20. # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  21. # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  22. # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  23. # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  24. # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  25. # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
  26. # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  27. # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
  28. # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  29. # SUCH DAMAGE.
  30. #
  31. # For additional information see http://www.ethernut.de/
  32. #
  33. PROJ = libnutlua
  34. include ../../Makedefs
  35. SRCS = lapi.c ldo.c ldump.c ldebug.c lfunc.c lgc.c \
  36. lmem.c lobject.c lopcodes.c lstate.c lstring.c ltable.c \
  37. ltm.c lundump.c lvm.c lzio.c lauxlib.c linit.c \
  38. loadlib.c lbaselib.c liolib.c loslib.c ldblib.c \
  39. lmathlib.c ltablib.c lstrlib.c \
  40. lcode.c llex.c lparser.c lrotable.c
  41. OBJS = $(SRCS:.c=.o)
  42. all: $(PROJ).a $(OBJS)
  43. include ../../Makerules
  44. clean:
  45. -rm -f $(PROJ).a
  46. -rm -f $(PROJ).map
  47. -rm -f $(OBJS)
  48. -rm -f $(SRCS:.c=.lst)