meri/Makefile.win
Juhani Krekelä dd583cfb30 Rename Makefile to Makefile.win
This is done in preparation from renaming GNUmakefile to just
Makefile. This pessimizes Windows in favour of non-GNU make on *nix,
but I'm fine with that since I daily drive FreeBSD and only rarely use
Windows. Sorry 'bout that if your situation is the opposite.
2026-05-21 13:40:26 +02:00

19 lines
284 B
Text

CC=cl
LINK=link
CFLAGS=/options:strict /W4 /wd4200 /std:c17 /permissive- /utf-8 /Zi /fsanitize=address
LFLAGS=/DEBUG
all: tests.exe
O=obj
!INCLUDE Makefile.common
tests.exe: $(TEST_OBJS)
$(LINK) $(LFLAGS) -out:$@ $**
clean:
del *.obj *.exe *.pdb
check: tests.exe
.\tests.exe