• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Cross-Platform OpenGL Windowing Library


Commit MetaInfo

Revisionec277814e440ff2978e7b379c16980fe1a6ddc25 (tree)
Time2022-03-14 06:42:33
AuthorAlaskanEmily <emily@alas...>
CommiterAlaskanEmily

Log Message

Fix building both shared and static versions of glow with MSVC

Change Summary

Incremental Difference

--- a/nmakefile
+++ b/nmakefile
@@ -6,11 +6,14 @@ all: glow.lib
66 glow_win32.obj: glow_win32.c glow.h
77 cl /Foglow_win32.obj /c glow_win32.c /nologo
88
9+glow_win32_dll.obj: glow_win32.c glow.h
10+ cl /Foglow_win32_dll.obj /c glow_win32.c /nologo /DGLOW_DLL /DGLOW_EXPORTS
11+
912 glow.lib: glow_win32.obj
1013 lib /NOLOGO /OUT:glow.lib glow_win32.obj
1114
12-glow.dll: glow_win32.obj
13- link /nologo /dll /out:glow.dll /implib:glow.lib OpenGL32.lib gdi32.lib user32.lib glow_win32.obj
15+glow.dll: glow_win32_dll.obj
16+ link /nologo /dll /out:glow.dll /implib:glow_dll.lib OpenGL32.lib gdi32.lib user32.lib glow_win32_dll.obj
1417
1518 glow_sdl2.obj: glow_sdl2.c glow.h
1619 cl /I"$(MAKEDIR)\include" /DGLOW_EXPORTS /DGLOW_DLL /c glow_sdl2.c /nologo