|
@@ -1,4 +1,13 @@
|
|
|
-IMPORT_LIBS=lib/user32.lib lib/kernel32.lib lib/gdi32.lib lib/opengl32.lib
|
|
|
+IMPORT_LIBS=lib/user32.lib \
|
|
|
+ lib/kernel32.lib \
|
|
|
+ lib/gdi32.lib \
|
|
|
+ lib/opengl32.lib \
|
|
|
+ lib/imm32.lib \
|
|
|
+ lib/ole32.lib \
|
|
|
+ lib/oleaut32.lib \
|
|
|
+ lib/shell32.lib \
|
|
|
+ lib/winmm.lib \
|
|
|
+ lib/version.lib
|
|
|
|
|
|
all: $(IMPORT_LIBS) test.exe
|
|
|
|
|
@@ -6,7 +15,7 @@ lib/%.lib: def/%.def
|
|
|
x86_64-w64-minwin64-dlltool -d $< -l $@
|
|
|
|
|
|
test.exe: test.c include/minwin.h
|
|
|
- x86_64-w64-minwin64-gcc test.c -Llib -Iinclude -luser32 -estart -o test.exe
|
|
|
+ x86_64-w64-minwin64-gcc test.c -fno-builtin src/minwin.c -Llib -Iinclude -luser32 -lkernel32 -estart -o test.exe
|
|
|
|
|
|
clean:
|
|
|
@rm -f test.exe lib/*
|