| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, |
| <http://sourceware.cygnus.com/ml/#faqs> | |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Date: | Thu, 26 Aug 1999 08:58:39 +0100 |
| From: | c9502007 AT zeus DOT hud DOT ac DOT uk (MR. S.CHANDER) |
| Message-Id: | <199908260758.IAA11269@lovelace.scom> |
| To: | cygwin AT sourceware DOT cygnus DOT com |
| Subject: | Make Problems |
----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 23
Hi,
I am having problems with make. I have set up some makefiles that work under un*x but not under
cygwin.
I have attached 3 files
make.g++ contains compiler specific stuff (I have one for the SUN CC compiler called make.CC)
makefile contains the main top level make file which includes make.g++ via a env var COMPILER
makefile_src contains the makefile within the src directory also include make.g++
my directory strucutre is as follows
toplevel_dir/ this conatins makefile and make.g++
toplevel_dir/src this conatins makefile_src and sources files for making a static library.
toplevel_dir/inc this conatins all my includes
toplevel_dir/src_test this contains my testing code
when I execute the following command
//MAYA/.../sandro $ make --unix
cd src;make all
make[1]: *** No rule to make target `VRMLVisitor.o', needed by `../lib/libSGGT.so'. Stop.
make: *** [all] Error 2
Anybody have any ideas as to what is going wrong????
Thanks
Satpal Chander
----------
X-Sun-Data-Type: default-app
X-Sun-Data-Description: default
X-Sun-Data-Name: make.g++
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 12
# make.CC compiler dependend
CPPCOMPILER = /usr/local/gcc-2.95/H-i586-cygwin32/bin/g++
SHARED_LDFLAGS = -G
MAKE = make
PIC = -fpic
RM = rm -f
LD = $(CPPCOMPILER)
----------
X-Sun-Data-Type: Makefile
X-Sun-Data-Description: Makefile
X-Sun-Data-Name: makefile
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 12
include make.$(COMPILER)
all: FORCE
cd src;${MAKE} all
cd src_test;${MAKE} all
clean: FORCE
cd src;${MAKE} clean
cd src_test;${MAKE} clean
#force descent into subdir
FORCE:
----------
X-Sun-Data-Type: Makefile
X-Sun-Data-Description: Makefile
X-Sun-Data-Name: makefile_src
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 95
#########################################################
###
### FILE NAME : makefile
###
### CONTENTS : Building library ....
###
#########################################################
#@echo "find ..make"
include ../make.$(COMPILER)
CCC = $(CPPCOMPILER)
SOURCES.cc = \
VRMLVisitor.cc \
SGGTVisitor.cc \
TransformNode.cc \
RootNode.cc \
GroupNode.cc \
LODNode.cc \
MaterialNode.cc \
DirectionalLightNode.cc \
PointLightNode.cc \
SpotLightNode.cc \
GeometryBoxNode.cc \
GeometryConeNode.cc \
GeometryCylinderNode.cc \
GeometrySphereNode.cc \
GeometryFileNode.cc \
Vec3.cc \
RotationVec.cc
SOURCES = $(SOURCES.cc)
OBJECTS.cc = $(SOURCES.cc:.cc=.o)
OBJECTS = $(OBJECTS.cc)
CFLAGS = -DDEBUG=1 -I../inc -I/usr/local/gcc2.95/include
CCFLAGS = $(CFLAGS)
LISGGT_SO = ../lib/libSGGT.so
LISGGT_A = ../lib/libSGGT.a
# Standard targets.
all: $(LISGGT_SO)
$(LISGGT_SO): $(OBJECTS)
@echo ">>>"
@echo ">>> Making library $@
@echo ">>>"
$(RM) $@
$(LD) $(SHARED_LDFLAGS) -o $@ $(OBJECTS)
.cc.o:
@echo ">>>"
@echo ">>> Compiling $<"
@echo ">>>"
$(COMPILE.cc) $(PIC) $<
### does not clean libraries!!! (c.f. clean_all, clean_libs)
clean: clean_rest
$(RM) $(OBJECTS)
clean_rest:
$(RM) *.bak *.BAK *.delta core *.tab.* *no_pure *~
print:
@echo ""
@echo "====== fil/fil_gen/conversion/src/makefile.dynamic ============"
@echo ""
@echo "LISGGT_SO = $(LISGGT_SO) "
@echo "---------------------------------------------------------------"
@echo "SOURCES = $(SOURCES) "
@echo "---------------------------------------------------------------"
@echo "OBJECTS = $(OBJECTS) "
@echo "---------------------------------------------------------------"
########################################################
#
# Depend
#
########################################################
depend:
makedepend $(CPPFLAGS) -w30 -I$(COMP_INC) $(SOURCES)
# DO NOT DELETE THIS LINE -- make depend depends on it.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |