aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2025-09-10 21:23:39 +0200
committerThorsten Töpper <atsutane@freethoughts.de>2025-09-10 21:23:39 +0200
commit3d4e2fc261d3471eac5e68c5905ab5980f0ff89f (patch)
treea28e3e8a6e58a65dd88e652a502a4b16b5ed6405 /Makefile
parentc4e08ec3777b78b6f788eec6737524cc5e856107 (diff)
downloadsmall-utils-3d4e2fc261d3471eac5e68c5905ab5980f0ff89f.tar.gz
small-utils-3d4e2fc261d3471eac5e68c5905ab5980f0ff89f.tar.bz2
custom_uniq: uniq -u buggy? workaround
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