blob: d9d5c64677f5341f1072f18cfe87cd6fbe4bfd0e [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)