Diff for games/pexeso/Makefile between version 1.1 and 1.2
| version 1.1, 2003/05/11 18:48:46 |
version 1.2, 2003/05/21 13:50:42 |
|
|
| PACKAGE = pexeso
|
PACKAGE = pexeso
|
| VERSION = 4.3
|
VERSION = 4.3
|
|
|
|
| # $Platon: $
|
# $Platon: games/pexeso/Makefile,v 1.1.1.1 2003/05/11 18:48:46 nepto Exp $
|
|
|
|
| CC = gcc
|
CC = gcc
|
| CFLAGS = -ggdb -g -DPLATON_SYSTEM_LINUX -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(VERSION)-linux"' -I_shared -O3 -pedantic -Wall
|
CFLAGS = -ggdb -g -DPLATON_SYSTEM_LINUX -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(VERSION)-linux"' -I_shared -O3 -pedantic -Wall
|
|
|
| dos-clean:
|
dos-clean:
|
| make -DPACKAGE="$(PACKAGE)" -DVERSION="$(VERSION)-msdos" -f Makefile.dos clean
|
make -DPACKAGE="$(PACKAGE)" -DVERSION="$(VERSION)-msdos" -f Makefile.dos clean
|
|
|
|
| linux: $(OBJECTS)
|
linux: linux-shared-test $(OBJECTS)
|
| $(CC) $(CFLAGS) -o pexeso $(OBJECTS) $(LIBS)
|
$(CC) $(CFLAGS) -o pexeso $(OBJECTS) $(LIBS)
|
|
|
|
| linux-clean:
|
linux-clean:
|
| $(RM) pexeso $(OBJECTS)
|
$(RM) pexeso $(OBJECTS)
|
|
|
|
| |
linux-shared-test:
|
| |
@if test ! -d _shared; then \
|
| |
if test -d ../_shared; then \
|
| |
ln -s ../_shared _shared; \
|
| |
echo -n "warning: "; \
|
| |
echo "shared directory did not exist, thus it was symlinked"; \
|
| |
else \
|
| |
echo -n "error: "; \
|
| |
echo "shared directory does not exist and cannot be symlinked"; \
|
| |
exit 1; \
|
| |
fi; \
|
| |
fi
|
| |
|
| #install: all
|
#install: all
|
| # install -m 4755 -o root -g root -s pexeso $(bindir)
|
# install -m 4755 -o root -g root -s pexeso $(bindir)
|
|
|
|
Platon Group <platon@platon.org> http://platon.org/
|
|