Thread: Makfile error
what wrong makefile? took word for, symbol symbol froma makefile tutorial found on web.
file is
outputcode:cc=pgcpp cflags=-c -wall ldflags= sources=main.cpp hello.cpp factorial.cpp objects=$sources:cpp=.o) executable=hello all: $(sources) $(executable) $(executable): $(objects) $(cc) $(ldflags) $(objects) -o $@ .cpp.o: $(cc) $(cflags) $< -o $@
makefile:10: *** target pattern contains no `%'. stop
line 10 starts $(exec...)
appreaciated. in advance.
newport_j
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Makfile error
Ubuntu
Comments
Post a Comment