summaryrefslogtreecommitdiff
path: root/Makefile
blob: e7f1b8a34e0979153e9397686421035b4521e0d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
camlet.debug: meson.build *.[ch] 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