aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
blob: 364f8bc364acc2721f60e43c79847e9925df8f7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CXX ?= clang++
CC ?= clang
LDLIBS = -lm -lstdc++
CFLAGS += -MD -O0 -ggdb -Wall -std=c99 -I/usr/local/include
CXXFLAGS += -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include
PKG_CONFIG ?= pkg-config
DESTDIR ?=
PREFIX ?= /usr/local
CHIPDB_SUBDIR ?= icebox

ifeq ($(MXE),1)
EXE = .exe
CXX = /usr/local/src/mxe/usr/bin/i686-w64-mingw32.static-gcc
CC = $(CXX)
PKG_CONFIG = /usr/local/src/mxe/usr/bin/i686-w64-mingw32.static-pkg-config
endif