summaryrefslogtreecommitdiff
path: root/Makefile
blob: c106fea885cf4b4b9c9b2fc8c51ed2ee5d214d38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
camlet.debug: meson.build main.c debug/setup
	meson compile -C debug
	ln -sf debug/camlet camlet.debug
	cp debug/compile_commands.json .
debug/setup:
	rm -rf debug
	meson setup debug
	touch debug/setup
release: release/camlet
release/camlet: meson.build main.c release/setup
	meson compile -C release
release/setup:
	rm -rf release
	meson setup release
	touch release/setup