blob: c80e4188110eea185d9a19818345f05a8f66955f [file] [log] [blame] [raw]
AR = i586-mingw32msvc-ar
AS = i586-mingw32msvc-as
CC = i586-mingw32msvc-gcc
DLLTOOL = i586-mingw32msvc-dlltool
CFLAGS += -Iinclude -O1 -Wall
DLLTOOL_FLAGS = -k
OBJS = version.o
first: libntdll.a
libntdll.a: ntdll.def $(OBJS)
$(DLLTOOL) $(DLLTOOL_FLAGS) --input-def ntdll.def --output-lib $@
$(AR) r $@ $(OBJS)
clean:
rm -f $(OBJS)