Makefile 977 B

1234567891011121314151617181920212223242526272829303132333435
  1. #include UCLICDIR and CROSS
  2. include ../../../../../Makefile.project
  3. include ../../../../../Makefile.toolchain
  4. #***************************************************************************
  5. # Define Environment Variables
  6. #***************************************************************************
  7. ifndef LIB_DIR
  8. LIB_DIR = ../../../../../lib
  9. endif
  10. # define O_DIRECT
  11. # Target library name
  12. TARGET_STATIC = $(LIB_DIR)/libMMUIresources.a
  13. CFLAGS += -I./include
  14. CFLAGS += -I../../../../../include/gsl
  15. CFLAGS += -I../../../../../../drivers/include/
  16. CFLAGS += -I../../../../../include/middleware/common
  17. CFLAGS += -I../../../../../include/middleware/common/gui_eng
  18. CFLAGS += $(UIRESOURCE_INC)
  19. #vpath
  20. VPATH = menu region string
  21. include ./menu/menu.in
  22. SRCS_LIST += $(SOURCES)
  23. SRCS_LIST += FilePlayer_region.c FilePlayer_bitmap_res.c FilePlayer_palette_res.c
  24. all: $(TARGET_STATIC)
  25. clean_loop: clean
  26. rm -fr $(TARGET_STATIC)
  27. # include common make rule
  28. include ../../../../../rules.mak