Compare commits

..

4 Commits

Author SHA1 Message Date
William Bell
1654507835 fix for windows 2025-08-16 00:42:13 +01:00
William Bell
d054ece8e2 release 2025-08-16 00:39:37 +01:00
William Bell
4937942d6e fix release 2025-08-16 00:35:48 +01:00
William Bell
82ea92183f fix release 2025-08-16 00:28:08 +01:00
2 changed files with 6 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ jobs:
- name: Build Project
run: |
make
make windows
- name: Package
run: |

View File

@@ -23,7 +23,6 @@ CFLAGS = $(ARCHFLAGS) -lm -lgc -lgmp -Wall -Wextra -Wno-unused-function -Werror=
all: $(BINARY)
windows: $(BINARY)
$(LEXER_C) $(LEXER_H): $(LEXER_SRC)
$(FLEX_TOOL) --header-file=$(LEXER_H) -o $(LEXER_C) $(LEXER_SRC)
@@ -32,6 +31,11 @@ $(BINARY): $(CFILES) $(LEXER_C) $(LEXER_H)
mkdir -p bin
gcc -O3 -o $(BINARY) $(CFILES) $(CFLAGS) -s
windows: $(CFILES) $(LEXER_C) $(LEXER_H)
find external/xxhash external/cwalk external/libdye src -name '*.c' > sources.txt
mkdir -p bin
gcc -O3 -march=native -o $(BINARY) @sources.txt $(CFLAGS)
native: $(CFILES) $(LEXER_C) $(LEXER_H)
mkdir -p bin
gcc -O3 -march=native -o $(BINARY) $(CFILES) $(CFLAGS)