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