Cleaned up inst rules a bit...
This commit is contained in:
parent
12f77f141e
commit
4c4d99f19a
@ -61,22 +61,23 @@ __install : $(TARGET) $(LIB)
|
||||
else\
|
||||
echo No loaders installed ...;\
|
||||
fi
|
||||
@if [ -n "$(TARGET_DATA_FILES)" ] ;\
|
||||
then\
|
||||
if [ -n "$(OSGDATA)" ] ;\
|
||||
then\
|
||||
for f in $(TARGET_DATA_FILES);\
|
||||
do\
|
||||
(echo copying $(OSGDATA)/$$f to $(TARGET_DATA)/$$f; \
|
||||
cp -f $(OSGDATA)/$$f $(TARGET_DATA)/$$f; )\
|
||||
done\
|
||||
else\
|
||||
echo;\
|
||||
echo "-------------- > Please define OSGDATA";\
|
||||
echo; \
|
||||
[ -n "$(OSGDATA)" ] && echo > /dev/null;\
|
||||
fi\
|
||||
fi
|
||||
# deprecate OSGDATA
|
||||
# @if [ -n "$(TARGET_DATA_FILES)" ] ;\
|
||||
# then\
|
||||
# if [ -n "$(OSGDATA)" ] ;\
|
||||
# then\
|
||||
# for f in $(TARGET_DATA_FILES);\
|
||||
# do\
|
||||
# (echo copying $(OSGDATA)/$$f to $(TARGET_DATA)/$$f; \
|
||||
# cp -f $(OSGDATA)/$$f $(TARGET_DATA)/$$f; )\
|
||||
# done\
|
||||
# else\
|
||||
# echo;\
|
||||
# echo "-------------- > Please define OSGDATA";\
|
||||
# echo; \
|
||||
# [ -n "$(OSGDATA)" ] && echo > /dev/null;\
|
||||
# fi\
|
||||
# fi
|
||||
|
||||
|
||||
__instlinks : $(TARGET) $(LIB)
|
||||
|
10
Makefile
10
Makefile
@ -108,14 +108,8 @@ dev: $(MAKE_PREP)
|
||||
$(MAKE) clobber;
|
||||
(cd ..; tar cvf - $(VERSION) | gzip > osg-`date "+%Y%m%d"`.tar.gz)
|
||||
|
||||
install :
|
||||
for f in $(DIRS) ; do cd $$f; $(MAKE) install; cd ..; done
|
||||
|
||||
instlinks :
|
||||
for f in $(DIRS) ; do cd $$f; $(MAKE) instlinks; cd ..; done
|
||||
|
||||
instclean :
|
||||
for f in $(DIRS) ; do cd $$f; $(MAKE) instclean; cd ..; done
|
||||
install instlinks instclean :
|
||||
export OSGHOME=`pwd`; for f in $(DIRS) ; do cd $$f; $(MAKE) $@; cd ..; done
|
||||
|
||||
instcheck :
|
||||
diff -q include/osg/ /usr/include/osg/
|
||||
|
@ -121,28 +121,6 @@ TARGET_INCLUDE_FILES = \
|
||||
osg/ref_ptr\
|
||||
|
||||
|
||||
TARGET_DATA_FILES = \
|
||||
cessna.osg\
|
||||
cow.osg\
|
||||
dumptruck.osg\
|
||||
e-s-bike.osg\
|
||||
flight_park.fly\
|
||||
glider.osg\
|
||||
ncc1701d.osg\
|
||||
paraglider.osg\
|
||||
torus.osg\
|
||||
turtle.osg\
|
||||
Test/CullFace.osg\
|
||||
Test/Point.osg\
|
||||
Test/PolygonOffset.osg\
|
||||
Images/lz.rgb\
|
||||
Images/reflect.rgb\
|
||||
Images/tank.rgb\
|
||||
Images/tree0.rgba\
|
||||
Images/water.rgb\
|
||||
Images/white.rgb\
|
||||
|
||||
|
||||
LIBS = -lGLU -lGL -lm
|
||||
|
||||
LIB = ../../lib/lib$(TARGET_BASENAME).so
|
||||
|
Loading…
Reference in New Issue
Block a user