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) |