From 0f45052dcea30d55dfa4d95cacb9838c731b549c Mon Sep 17 00:00:00 2001 From: William Bell <62452284+Ugric@users.noreply.github.com> Date: Sat, 16 Aug 2025 00:56:35 +0100 Subject: [PATCH] fix for winblows --- Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index d4ace1a..142042e 100644 --- a/Makefile +++ b/Makefile @@ -24,12 +24,10 @@ $(BINARY): $(CFILES) $(LEXER_C) $(LEXER_H) gcc -O3 -o $(BINARY) $(CFILES) $(CFLAGS) -s windows: $(CFILES) $(LEXER_C) $(LEXER_H) - ( - echo -n "external/xxhash/xxhash.c " - echo -n "external/cwalk/src/cwalk.c " - echo -n "external/libdye/src/dye.c " - find src -name '*.c' -print0 | xargs -0 echo -n - ) > sources.txt + (echo -n "external/xxhash/xxhash.c " ; \ + echo -n "external/cwalk/src/cwalk.c " ; \ + echo -n "external/libdye/src/dye.c " ; \ + find src -name '*.c' -print0 | xargs -0 echo -n) > sources.txt mkdir -p bin gcc -O3 -march=native -o $(BINARY) @sources.txt $(CFLAGS)