Diff for games/3do-view/Makefile between version 1.3 and 1.4
| version 1.3, 2003/05/20 14:31:21 |
version 1.4, 2003/05/21 13:50:38 |
|
|
| PACKAGE = 3do-view |
PACKAGE = 3do-view |
| VERSION = 1.4 |
VERSION = 1.4 |
| |
|
| # $Platon: games/3do-view/Makefile,v 1.2 2003/05/19 22:24:46 nepto Exp $ |
# $Platon: games/3do-view/Makefile,v 1.3 2003/05/20 14:31:21 nepto Exp $ |
| |
|
| CC = gcc |
CC = gcc |
| CFLAGS = -DPLATON_SYSTEM_LINUX -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(VERSION)-linux"' -I_shared -O3 -pedantic -Wall |
CFLAGS = -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 3do-view $(OBJECTS) $(LIBS) |
$(CC) $(CFLAGS) -o 3do-view $(OBJECTS) $(LIBS) |
| |
|
| linux-clean: |
linux-clean: |
| $(RM) 3do-view $(OBJECTS) |
$(RM) 3do-view $(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 3do-view $(bindir) |
# install -m 4755 -o root -g root -s 3do-view $(bindir) |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|