mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-11-29 03:00:27 +00:00
ba4374c382
Okay, I see what's going on now. glXGetProcAddress was only part of the very recently ratified GLX version 1.4, although Mesa has had it for a while. glXGetProcAddressARB has been around for much longer and is in fact part of the official Linux OpenGL ABI. Signed-off-by: Tyrann <tyrann@disenchant.net>
35 lines
701 B
Makefile
35 lines
701 B
Makefile
# ------------
|
|
# NQ Makefile - to be called from the main makefile
|
|
# ------------
|
|
|
|
# Not quite ready for buildirs, etc.
|
|
# More seperation required:
|
|
# - Core engine
|
|
# - Renderer
|
|
# - System
|
|
|
|
.PHONY: default \
|
|
quake-sw-win32 quake-gl-win32 quake-sw-linux quake-gl-linux
|
|
|
|
# Rules to compile stuff from the common dir...
|
|
%.o: ../common/%.S
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $^
|
|
|
|
%.o: ../common/%.c
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $^
|
|
|
|
# Rule to make the resource file
|
|
%.res: %.rc
|
|
windres -i $^ -O coff -o $@
|
|
|
|
# Don't build anything by default
|
|
default:
|
|
|
|
quake-sw-win32: $(NQ_W32_SW_OBJS)
|
|
|
|
quake-gl-win32: $(NQ_W32_GL_OBJS)
|
|
|
|
quake-sw-linux: $(NQ_LINUX_SW_OBJS)
|
|
|
|
quake-gl-linux: $(NQ_LINUX_GL_OBJS)
|