-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.mk
45 lines (35 loc) · 862 Bytes
/
config.mk
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
# Compiler settings
CC ?= cc
CXX ?= c++
CFLAGS += -Wall -std=gnu99 -O2 \
-Wno-unused-result
CXXFLAGS ?= -g -O2
CPPFLAGS ?= -D_GNU_SOURCE
LDFLAGS ?= -lm
LEX ?= flex
LFLAGS ?=
YACC ?= bison
YFLAGS ?=
LD ?= ld
PERL ?= perl -w
MKDIR ?= mkdir
# Install Paths
PREFIX := /usr
BINDIR := $(PREFIX)/bin
MANDIR := $(PREFIX)/share/man
MAN1DIR := $(MANDIR)/man1
DOCDIR := $(PREFIX)/share/doc/$(EXE)
# Show all commands executed by the Makefile
V ?= n
CONFIG_DEBUG ?= y
# if 'y', then the jit cpu core will be included
#
# Requires libjit
CONFIG_JIT ?= n
# Three different backend choices, which control the display and audio.
# This has to be chosen at compile time.
#
# The emscripten makes use of the sdl backend along with some extra settings
CONFIG_BACKEND ?= SDL
# CONFIG_BACKEND := PROTURA
# CONFIG_BACKEND := EMSCRIPTEN