-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (44 loc) · 1.66 KB
/
Makefile
File metadata and controls
52 lines (44 loc) · 1.66 KB
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
###############################################################################
# Location of the project directory and Makefiles
#
P := .
M := $(P)/.makefile
###############################################################################
# Project definition
#
include $(P)/Makefile.common
TARGET_NAME := Arduino-Emulator
TARGET_DESCRIPTION := An emulator for Arduino for testing your Arduino code.
include $(M)/project/Makefile
###############################################################################
# Inform Makefile where to find third-party header files
#
INCLUDES += $(P)/include $(P)/src
INCLUDES += $(THIRD_PARTIES_DIR)
INCLUDES += $(THIRD_PARTIES_DIR)/json/include
INCLUDES += $(THIRD_PARTIES_DIR)/cxxopts/include
###############################################################################
# Inform Makefile where to find *.cpp files
#
VPATH += $(P)/src
###############################################################################
# Project defines
#
DEFINES +=
###############################################################################
# Make the list of files to compile
#
SRC_FILES := $(wildcard $(P)/src/*.cpp)
###############################################################################
# Set third-party library flags
#
USER_CXXFLAGS += -Wno-old-style-cast -Wno-noexcept -Wno-useless-cast
USER_CXXFLAGS += -Wno-switch-enum -Wno-float-equal
###############################################################################
# Link against SFML library for audio support
#
PKG_LIBS += sfml-audio sfml-system
###############################################################################
# Sharable information between all Makefiles
#
include $(M)/rules/Makefile