I believe this Makefile requires GNU make, so if you happen to have it, you should use that. If not, I'm sure you can get the source and build it. Otherwise, you can try modifying the Makefile. For starters, -C tells GNU make to change directory, You can probably do this instead:
do (cd $$i; $(MAKE) $@) || exit 1; done
However, you may hit more problems in the Makefiles in the subdirectories.
hi,
i downloaded ndmpcopy 1.2 from ndmp.org
when i first tried to make it on solaris 7 i got
make: Fatal error: Unknown option `-C' *** Error code 1 make: Fatal error: Command failed for target `all'
from the src:
SUBDIRS= lib src TARGETS = all clean
$(TARGETS):: for i in $(SUBDIRS); do $(MAKE) -C $$i $@ || exit 1; done
removing the '-C' does not correct the problem.
suggestions?
--
regards
begin:vcard n:lehrer;neil tel;fax:202 619-3576 tel;work:202 619-2524 x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:nlehrer@ibb.gov fn:neil lehrer end:vcard
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support