diff options
Diffstat (limited to 'games/braincurses/Makefile')
-rw-r--r-- | games/braincurses/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games/braincurses/Makefile b/games/braincurses/Makefile index e68f0b8e8435..fa9968ceb376 100644 --- a/games/braincurses/Makefile +++ b/games/braincurses/Makefile @@ -12,19 +12,21 @@ COMMENT= Clone of the Mastermind game LICENSE= GPLv2 USES= gmake ncurses +USE_CSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= bderrly -#LDFLAGS+= -L${LOCALBASE}/lib -lncurses +LDFLAGS+= -L${LOCALBASE}/lib -lncurses OPTIONS_DEFINE= DOCS -#do-build: -# cd ${WRKSRC} && \ -# ${CXX} -c -o main.o code.o braincurses.o && \ -# ${CXX} ${CFLAGS} -c ${PORTNAME}.cpp && \ -# ${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} windows/windows.o ${PORTNAME}.o +do-build: + cd ${WRKSRC} && \ + ${CXX} ${CFLAGS} -c -o main.o main.cpp && \ + ${CXX} ${CFLAGS} -c -o code.o code.cpp && \ + ${CXX} ${CFLAGS} -c -o braincurses.o braincurses.cpp && \ + ${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} code.o ${PORTNAME}.o main.o do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |