quakeforge-old/client.in
1999-12-30 10:57:57 +00:00

34 lines
638 B
Text

ifneq ($(HAS_OGL),)
GLQUAKE =$(BIN_PREFIX)-gl
endif
# FIX: Add 3dfxgl targets
ifneq ($(HAS_TDFXGL),)
TDFXQUAKE= $(BIN_PREFIX)-3dfx
endif
ifneq ($(HAS_X11),)
X11QUAKE = $(BIN_PREFIX)-x11
endif
ifneq ($(HAS_VGA),)
SVGAQUAKE = $(BIN_PREFIX)-svga
endif
RELEASE = @RELEASE@
ifeq ($(RELEASE),yes)
OPTFLAGS = @RELEASE_CFLAGS@
else
OPTFLAGS = -g
endif
targets = $(SVGAQUAKE) $(GLQUAKE) $(TDFXQUAKE) $(X11QUAKE)
CLEAN_TARGETS = $(patsubst %,clean-%, $(targets))
.PHONY: $(targets) ($CLEAN_TARGETS)
x: Makefile
@echo binaries: $(targets)
@echo other targets: distclean
@echo all: makes all targets - $(targets)
all: $(targets)