-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
59 lines (53 loc) · 1.9 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
##
## Makefile for mxgui
## This makefile builds libmxgui.a
##
## KPATH and CONFPATH are forwarded by the parent Makefile
MAKEFILE_VERSION := 1.15
include $(KPATH)/Makefile.kcommon
## List of all mxgui source files (both .c and .cpp)
## These files will end up in libmxgui.a
SRC := \
display.cpp \
font.cpp \
misc_inst.cpp \
tga_image.cpp \
textbox.cpp \
level2/input.cpp \
level2/application.cpp \
level2/drawing_context_proxy.cpp \
level2/label.cpp \
level2/button.cpp \
level2/checkbox.cpp \
level2/radio_button.cpp \
level2/scrolling_list.cpp \
level2/simple_plot.cpp \
drivers/display_stm3210e-eval.cpp \
drivers/event_stm3210e-eval.cpp \
drivers/display_mp3v2.cpp \
drivers/event_mp3v2.cpp \
drivers/display_strive.cpp \
drivers/display_st7735.cpp \
drivers/display_oledboard2.cpp \
drivers/event_strive.cpp \
drivers/display_redbull_v2.cpp \
drivers/event_redbull_v2.cpp \
drivers/display_bitsboard.cpp \
drivers/display_sony-newman.cpp \
drivers/event_sony-newman.cpp \
drivers/display_stm32f4discovery.cpp \
drivers/event_stm32f4discovery.cpp \
drivers/display_generic_1bpp.cpp \
drivers/display_st7735.cpp \
drivers/display_st25dvdiscovery.cpp \
drivers/display_stm3220g-eval.cpp \
drivers/event_stm3220g-eval.cpp \
drivers/event_st25dvdiscovery.cpp
CFLAGS += -DMXGUI_LIBRARY
CXXFLAGS += -DMXGUI_LIBRARY
all: $(OBJ)
$(ECHO) "[AR ] libmxgui.a"
$(Q)$(AR) rcs libmxgui.a $(OBJ)
clean:
rm -f $(OBJ) $(OBJ:.o=.d) libmxgui.a
-include $(OBJ:.o=.d)