1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/games/54321/files/variables.GNU
Martin Wilke bc53620c8e - Update MASTER_SITES/WWW
- Stage support

PR:		187047
Submitted by:	Ports Fury
2014-02-27 09:08:43 +00:00

24 lines
691 B
Gnuplot

############################################################
CXX := c++
STRIP := true
############################################################
MKDIR_CMD = test -d $(@D) || mkdir -p $(@D)
############################################################
SDL := ${LOCALBASE}
SDL_IMAGE := ${LOCALBASE}
CPPFLAGS += -I${SDL}/include/SDL -I${SDL}/include -I${SDL_IMAGE}/include/SDL
LDFLAGS += \
-L${SDL_IMAGE}/lib -Wl,-rpath -Wl,${SDL_IMAGE}/lib \
-L${SDL}/lib -Wl,-rpath -Wl,${SDL}/lib \
-lSDL_image -lSDL -lSDLmain -pthread -lpng
prog: Release/54321-$(OPSYS)
Release/54321-$(OPSYS):
-@$(MKDIR_CMD)
echo '#!/bin/sh' > $@
echo "cd ./bin/$(OPSYS) && exec ./54321 \$$*" >> $@
chmod 755 $@