-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
67 lines (52 loc) · 1.36 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
60
61
62
63
64
65
##########################################
# EMMA TECHNOLOGIES, L.L.C. #
# Copyright (c) 2013. #
# All rights reserved. #
##########################################
include ${__TOOLDIR}/mk/header.mk
##########################################
SOURCE = main.cpp
INCLUDES = \
-I.\
-I./src/include\
-I./src\
-I./src/3rdParty/Arduino\
-I./src/3rdParty/Arduino/ArduinoCore\
-I./src/3rdParty/Arduino/varients/standard
PROGRAM_DEPENDENCIES = \
$(OBJDIR)/$(SOURCE:.cpp=.$(OBJEXT))
PROGRAM_MODULES = \
${__ROOTDIR}/src/DisplayMatrix\
${__ROOTDIR}/src/DisplayManager\
${__ROOTDIR}/src/Utilities\
${__ROOTDIR}/src/Demo
PROGRAM_LIBRARIES = \
-lDisplayMatrix\
-lDisplayManager\
-lUtilities\
-lDemo
ifeq (${__TARGET},ARDUINO)
PROGRAM_MODULES :=\
${__ROOTDIR}/src/3rdParty/Arduino/ArduinoCore\
${__ROOTDIR}/src/3rdParty/Arduino/SPI\
${__ROOTDIR}/src/3rdParty/Arduino/ShiftPWM\
${__ROOTDIR}/src/DisplayMatrix\
${__ROOTDIR}/src/DisplayManager\
${__ROOTDIR}/src/Utilities\
${__ROOTDIR}/src/Demo
PROGRAM_LIBRARIES := \
-lShiftPWM\
-lDisplayMatrix\
-lDisplayManager\
-lUtilities\
-lDemo\
-lSPI\
-lArduinoCore
endif
PROGRAM_LIB_INCLUDES = \
-L./lib
##Make sure to define the default and clean rules for directory
default: program
clean: clean_all
##########################################
include ${__TOOLDIR}/mk/footer.mk