aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3deee66..b805715 100644
--- a/Makefile
+++ b/Makefile
@@ -12,12 +12,14 @@ CFLAGS += -I include
all: \
+ out/custom_uniq \
out/mem_internal_check \
out/split_for_sort \
out/tree_based_check
debug: \
+ out/debug/custom_uniq \
out/debug/mem_internal_check \
out/debug/split_for_sort \
out/debug/tree_based_check
@@ -38,6 +40,12 @@ out/debug: out
# Lazy, not splitting compiler & linker calls
+out/custom_uniq: out src/custom_uniq.c include/trace_macros.h
+ ${CC} -o $@ ${CFLAGS} ${PROD_CFLAGS} src/custom_uniq.c
+
+out/debug/custom_uniq: out/debug src/custom_uniq.c include/trace_macros.h
+ ${CC} -o $@ ${CFLAGS} ${DEBUG_CFLAGS} src/custom_uniq.c
+
out/mem_internal_check: out src/mem_internal_check.c \
include/trace_macros.h include/hex_conversion.h
${CC} -o $@ ${CFLAGS} ${PROD_CFLAGS} src/mem_internal_check.c