Added windows-latest build to CI

This commit is contained in:
2024-08-13 23:48:21 +10:00
parent e6ad46f1ff
commit 0ed676d79b
3 changed files with 18 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
#compiler settings
CC=gcc
CFLAGS=-g -Wall -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable
LIBS=-lm
@@ -57,9 +58,9 @@ ifeq ($(shell uname),Linux)
find . -type d -name 'out' -delete
find . -type d -name 'obj' -delete
else ifeq ($(OS),Windows_NT)
del *.o *.a *.exe *.dll *.lib *.so *.dylib
del /s out
del /s obj
$(RM) *.o *.a *.exe *.dll *.lib *.so *.dylib
$(RM) out
$(RM) obj
else ifeq ($(shell uname),Darwin)
find . -type f -name '*.o' -delete
find . -type f -name '*.a' -delete