Commit 53a6c2cf authored by TANIGUCHI Takaki's avatar TANIGUCHI Takaki

Imported Upstream version 0.8.3

parent 8ff82c3e
......@@ -30,10 +30,10 @@ bindir = $(installprefix)/games
mandir = $(installprefix)/share/man/man6
# preprocessor options to find all included files
INC_PATH = -I$(srcdir) -I/usr/X11R6/include
INC_PATH = -I$(srcdir) -I/usr/local/include
# libraries link options ('-lm' is common to link with the math library)
LNK_LIBS = -lm -lX11 -lXpm -L/usr/X11R6/lib/
LNK_LIBS = -lm -lX11 -lXpm -L/usr/local/lib/
# other compilation options
# The high scores file is only writable by the executable and shared
......@@ -161,14 +161,16 @@ goal_flag_file = $(goal_flag_file_prefix)$(MAKECMDGOALS)
# usage message for this makefile
.PHONY: usage
usage:
@echo "GOAL EFFECT"
@echo "---- ------"
@echo "usage print this message"
@echo "list list the source files"
@echo "$(GOAL_EXE) build the executable"
@echo "$(GOAL_DEBUG) build the executable with debug options"
@echo "$(GOAL_PROF) build the executable with profiling options"
@echo "clean remove all built files"
@echo "GOAL EFFECT"
@echo "---- ------"
@echo "usage print this message"
@echo "list list the source files"
@echo "$(GOAL_EXE) build the executable"
@echo "$(GOAL_DEBUG) build the executable with debug options"
@echo "$(GOAL_PROF) build the executable with profiling options"
@echo "clean remove all built files"
@echo "install remove all built files"
@echo "uninstall remove all built files"
# If source files exist then build the EXE file.
.PHONY: $(GOAL_EXE)
......@@ -256,3 +258,8 @@ install:
touch $(HIGH_SCORES_FILE)
if [ -n "$(EXE_GROUP)" ]; then chgrp $(EXE_GROUP) $(HIGH_SCORES_FILE); fi
chmod 664 $(HIGH_SCORES_FILE)
.PHONY: uninstall
uninstall:
rm $(bindir)/$(EXE)
rm $(mandir)/$(MANUAL)
......@@ -20,7 +20,7 @@ Graphic art copied from XGalaga 2.0.34,
REQUIREMENTS
- POSIX system
- X11R6
- X11R6 +
for development:
- GNU Make
- Standard C++ compiler
......@@ -38,7 +38,8 @@ http://marc.mongenet.ch/OSS/GenericMakefiles/.
VERSIONS
(2010-12-09) v0.8.2: Fix to compile on 64-bit systems.
(2012-04-20) v0.8.3: Fix to compile on BSD (thanks to nemysis)
(2010-12-09) v0.8.2: Fix to compile on 64-bit systems (thanks to Zbigniew Baniewski)
(2009-09-23) v0.8.1: Fixed includes to compile with GCC 4.3.
(2008-05-21) v0.8: -Os build option
Update email & website
......
......@@ -29,7 +29,7 @@ StartMenu & StartMenu::Instance() {
const char *const menu_lines[] = {
"XGalaga++ v0.8.1 (2009-09-23)",
"XGalaga++ v0.8.3 (2012-04-20)",
"2003-2009 Marc Mongenet, graphics from XGalaga 2.0.34",
"This game is free software, covered by the GPL.",
"",
......
......@@ -30,7 +30,7 @@ PosixBuf::~PosixBuf()
int PosixBuf::Lock(short type) const
{
flock lk;
struct flock lk;
lk.l_type = type;
lk.l_whence = SEEK_SET;
lk.l_start = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment