summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index f49e1ae..18bb7a5 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,3 +1,4 @@
-build/read_conf: read_conf.c ../release/libpom.a
+PROFILE?=release
+build/read_conf: read_conf.c ../$(PROFILE)/libpom.a
@mkdir -p build
- $(CC) -I.. -Wall -o $@ read_conf.c ../release/libpom.a
+ $(CC) -I.. -Wall -o $@ read_conf.c ../$(PROFILE)/libpom.a