From 3d4e2fc261d3471eac5e68c5905ab5980f0ff89f Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Wed, 10 Sep 2025 21:23:39 +0200 Subject: custom_uniq: uniq -u buggy? workaround --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2