Files
CgeTimer/Makefile.win32
Mikhail Romanko e382d4ed13
All checks were successful
CI / build-and-analyze (push) Successful in 33s
Initial commit
2026-08-08 20:51:26 +03:00

24 lines
423 B
Makefile

# Makefile.win32 for MSVC (NMake)
# Usage: Open "x86 Native Tools Command Prompt", then:
# nmake -f Makefile.win32
CC = cl
LIB = lib
CFLAGS = /c /nologo /W3 /O2
LIBFLAGS = /nologo
TARGET = CgeTimer.lib
SOURCES = win32/Timer.c
OBJECTS = $(SOURCES:.c=.obj)
$(TARGET): $(OBJECTS)
$(LIB) $(LIBFLAGS) /OUT:$(TARGET) $(OBJECTS)
{.}.c{}.obj:
$(CC) $(CFLAGS) /Fo$@ $<
clean:
del $(OBJECTS) $(TARGET) 2>nul
.PHONY: clean