LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Makefile issue: "Makefile.src: File not found" (https://www.linuxquestions.org/questions/linux-software-2/makefile-issue-makefile-src-file-not-found-531437/)

m3rkury 02-22-2007 02:41 PM

Makefile issue: "Makefile.src: File not found"
 
I am trying to compile this program, and I am getting the error

Code:

Makefile.src: No such file or directory
*** No rule to make target 'Makefile.src'. Stop.
*** [spring] Error 2

There is no Makefile.src, only the Makefile:

Code:

# $Id: Makefile,v 1.37 2002/01/03 00:32:32 kevin Exp $
#
# Set machine-specific stuff
include Makeconfig

########################################################################

TARGETS = spring testtool testbird testintersense vrml2smf testglut
LIBS = glui/libglui.a mui/libmui.a microscribe/libmicroscribe.a
INC = -I. -Iinclude -I$(GLUTDIR)/include/GL -I$(GLUTDIR)/include \
                -Iglui -Imui -Imicroscribe \
                -I/usr/include

.PHONY: ${LIBS} clean all

HDRS = *.h

all: ${TARGETS}

.dependencies: ${SRCS} ${HDRS}
        $(CC) -M *.cpp > .dependencies ${INC}

${TARGETS}: .dependencies ${LIBS}
        ${MAKE} -f Makefile.src $@

glui/libglui.a:
        cd glui && ${MAKE}

mui/libmui.a:
        cd mui && ${MAKE}

microscribe/libmicroscribe.a:
        cd microscribe && ${MAKE}

clean:
        make -f Makefile.src clean
        rm -f .dependencies
        cd mui && make clean
        cd glui && make clean
        cd microscribe && make clean

I've contacted the programmer, but he hasn't gotten back to me yet. Anyone have any suggestions?

Running Debian Testing, kernel 2.6.17-2-686, gcc 4.1.2

m3rkury 02-22-2007 10:15 PM

Nevermind. I found an older release on the website and used the Makefile.src from that release. Fixed that problem and uncovered another. I will run that by the programmer.


All times are GMT -5. The time now is 01:37 AM.