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