summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 3527d90e0e4adf8371e57ee62320cf81863ff74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export PATH := /opt/python/2.7/bin:$(PATH)
CXX = g++
CXXFLAGS = -std=c++03 \
	   -O0 -ggdb3 -Wall -Wextra -Wno-parentheses -Wno-unused-parameter \
	   -MMD \
		-DMS_DEBUG \
		# -DMS_GC_DEBUG \

all: prelude.mbed.inc
	rm -f ss/*.o
	make -C ss prelude.inc
	mbed compile

prelude.mbed.inc: prelude.mbed.scm
	xxd -i $< > $@

run: all
	mbed compile -f