On Wed, 14 Oct 2009, Lorenzo Fiorini wrote:
> > You do not need any new hbcmp script switches to replicate such
> > behavior, i.e.:
> > PRGFLAGS=-km -w3 -es0 -q0 -gh -n -D__hrb__ -I../dbl/
> > %.hrb: $(ROOT)%.prg
> > hbcmp $(PRGFLAGS) $?
> > ( echo $@ ; hbcmp $(PRGFLAGS) -q2 -sm $? ) > $(?:.prg=.d)
> Many thanks. I've also tried sth like that but I get:
> ../hrb/anaedt.d:1: *** missing separator. Stop.
> when I add -include $(DFILES)
> .d files are not in the form that can be used directly in make.
Please simply modify above example and instead of 'echo $@' use
'echo "$@: "', i.e.:
( echo "$@: " ; hbcmp $(PRGFLAGS) -q2 -sm $? ) > $(?:.prg=.d)
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour