Unix Programming - Another Makefile problem

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > March 2005 > Another Makefile problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Another Makefile problem
Billy Patton

2005-03-24, 5:52 pm

here's a snippett of my Makefile (the problem area I believe)
MODULES := \
Combinations \
GrayCode \
HdlToHash \
ListDirectory \
ProfileToHash \
Source \
Techio \
cdmg \
maf \
parse_auditreport \
parse__DATA__ \
proof_cds2svdb \

..PHONY: make_paths \
clean \
test \
test_modules \
real_clean \
lib \

all : make_paths \
$(addprefix $(LOCAL_LIB)/,$(addsuffix .pm,$(basename $(MODULES)))) \
$(addprefix $(HTML_DIR)/,$(addsuffix .html,$(basename $(MODULES))))

$(LOCAL_LIB)/%.pm: %.pm
$(INSTALL) -c -m 555 $< $@

$(HTML_DIR)/%: %
if [ ! -d $(HTML_DIR) ]; then \
$(MKDIR) $(HTML_DIR) ; \
fi;
$(INSTALL) -c -m 664 $< $@

%.html: %
pod2html $< > $@


I get this error :
make
make: *** No rule to make target
`/data/cdmg/dev/cdmg_toolbox/perl_modules/doc/html/Combinations.html', needed
by `all'. Stop.


What is wrong with my Makefile?

___ _ ____ ___ __ __
/ _ )(_) / /_ __ / _ \___ _/ /_/ /____ ___
/ _ / / / / // / / ___/ _ `/ __/ __/ _ \/ _ \
/____/_/_/_/\_, / /_/ \_,_/\__/\__/\___/_//_/
/___/
Texas Instruments ASIC Circuit Design Methodology Group
Dallas, Texas, 214-480-4455, b-patton@ti.com
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com