]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/extra/qe4/makefile
Q2Tools source - didn't import this in initially
[xonotic/netradiant.git] / tools / quake2 / extra / qe4 / makefile
diff --git a/tools/quake2/extra/qe4/makefile b/tools/quake2/extra/qe4/makefile
new file mode 100644 (file)
index 0000000..7797ac3
--- /dev/null
@@ -0,0 +1,23 @@
+
+TARGETOS=WINNT
+
+!include <ntwin32.mak>
+
+# This line allows NMAKE to work as well
+
+all: gengl.exe
+
+# Update the object file if necessary
+
+gengl.obj: gengl.c gengl.h
+    $(cc) $(cflags) $(cvars) $(cdebug) $(cf) gengl.c
+
+render.obj: render.c gengl.h
+    $(cc) $(cflags) $(cvars) $(cdebug) $(cf) render.c
+
+gengl.res: gengl.rc genglrc.h
+    rc -r gengl.rc
+
+gengl.exe: gengl.obj gengl.res render.obj 
+    $(link) $(linkdebug) /NODEFAULTLIB $(guilflags) -out:gengl.exe \
+    gengl.obj render.obj gengl.res $(guilibsdll) opengl32.lib glu32.lib