blob: e895438f2f232c6b0afd56242cc41242e1aa06d4 [file] [log] [blame] [raw]
AR = i586-mingw32msvc-ar
AS = i586-mingw32msvc-as
CC = i586-mingw32msvc-gcc
DLLTOOL = i586-mingw32msvc-dlltool
CFLAGS += -Iinclude -O1
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)