-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (27 loc) · 875 Bytes
/
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
BIN?=bin
SRC?=signals/src
EXTRA?=signals/sysroot
SIGNALS_HAS_X11?=0
CFLAGS+=-fPIC
ifeq ($(DEBUG), 1)
CFLAGS+=-g3
LDFLAGS+=-g
else
CFLAGS+=-O3
endif
ifeq ($(DEBUG), 0)
# disable all warnings in release mode:
# the code must always build, especially old versions with recent compilers
CFLAGS+=-w -DNDEBUG
LDFLAGS+=-Xlinker -s
endif
#------------------------------------------------------------------------------
include signals/Makefile
CFLAGS+=-Isrc
CFLAGS+=-std=c++17 # filesystem - put after Signals Makefile
#------------------------------------------------------------------------------
include src/apps/bin2dash/project.mk
#------------------------------------------------------------------------------
include src/apps/bin2dash_app/project.mk
#------------------------------------------------------------------------------
targets: $(TARGETS)