-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile.link
More file actions
29 lines (24 loc) · 778 Bytes
/
Makefile.link
File metadata and controls
29 lines (24 loc) · 778 Bytes
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
#############################################################################
#
# file : Makefile.link
#
# common settings and link to the bmptk/makefile.inc
#
# (c) Wouter van Ooijen (www.voti.nl) 2017
#
# This file is in the public domain.
#
#############################################################################
# add ourselves
HWCPP ?= $(RELATIVE)
include $(RELATIVE)Makefile.inc
# add Catch
SEARCH += $(HWCPP)/../Catch/include
# set BMPTK to the bmptk subdirectory
BMPTK ?= $(HWCPP)/../bmptk
ifeq ($(TARGET),native)
# enable exeptions (disabled by default by bmptk)
PROJECT_CPP_FLAGS += -fexceptions
endif
# Defer to the bmptk/Makefile.inc to do the real work
include $(BMPTK)/Makefile.inc