freebsd-ports/games/quake2-3zb2/files/Makefile
Alexey Dokuchaev d4ca82f4f8 games/quake2-3zb2: try to unbreak the port against Clang 16
The treatment is basically the same as in commit 2ca9bcd573
(-Wno-incompatible-function-pointer-types); using the MAKEFILE
instead of copying the Makefile to ${WRKSRC} is also alike.

While I'm here, prune the header files from the SRCS list and
banal comment in the `post-extract' target, use option helpers
during the installation, and stop messing with permissions as
it breaks ``make clean''.

Reported by:	pkg-fallout
2023-07-26 12:58:04 +00:00

38 lines
564 B
Makefile

SHLIB= game
SHLIB_NAME= game.so
SRCS= bot.c \
bot_fire.c \
bot_func.c \
bot_za.c \
g_chase.c \
g_cmds.c \
g_combat.c \
g_ctf.c \
g_func.c \
g_items.c \
g_main.c \
g_misc.c \
g_monster.c \
g_phys.c \
g_save.c \
g_spawn.c \
g_svcmds.c \
g_target.c \
g_trigger.c \
g_turret.c \
g_utils.c \
g_weapon.c \
m_move.c \
p_client.c \
p_hud.c \
p_menu.c \
p_trail.c \
p_view.c \
p_weapon.c \
q_shared.c
CFLAGS+= -Dstricmp=strcasecmp -ffast-math \
-Wno-incompatible-function-pointer-types
.include <bsd.lib.mk>