generously gave the OpenTyrian developers a copy of the Tyrian 2.1 source code, which has since been ported from Turbo Pascal to C. The port uses SDL, making it easily cross-platform. Tyrian is an arcade-style vertical scrolling shooter. The story is set in 20,031 where you play as Trent Hawkins, a skilled fighter-pilot employed to fight Microsol and save the galaxy. WWW: https://bitbucket.org/opentyrian/opentyrian/wiki/Home
33 lines
801 B
Text
33 lines
801 B
Text
--- Makefile.orig 2013-09-07 23:56:16 UTC
|
|
+++ Makefile
|
|
@@ -8,8 +8,6 @@ endif
|
|
|
|
TARGET := opentyrian
|
|
|
|
-WITH_NETWORK := true
|
|
-
|
|
############################################################
|
|
|
|
STRIP := strip
|
|
@@ -21,21 +19,11 @@ OBJS := $(SRCS:src/%.c=obj/%.o)
|
|
|
|
# FLAGS ####################################################
|
|
|
|
-ifneq ($(MAKECMDGOALS), release)
|
|
- EXTRA_CFLAGS += -g3 -O0 -Werror
|
|
-else
|
|
- EXTRA_CFLAGS += -g0 -O2 -DNDEBUG
|
|
-endif
|
|
EXTRA_CFLAGS += -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers
|
|
ifeq ($(WITH_NETWORK), true)
|
|
EXTRA_CFLAGS += -DWITH_NETWORK
|
|
endif
|
|
|
|
-HG_REV := $(shell hg id -ib && touch src/hg_revision.h)
|
|
-ifneq ($(HG_REV), )
|
|
- EXTRA_CFLAGS += '-DHG_REV="$(HG_REV)"'
|
|
-endif
|
|
-
|
|
EXTRA_LDLIBS += -lm
|
|
|
|
SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags)
|