%% Russell <[EMAIL PROTECTED]> writes:

  r> The line:
  r>         avr-ld -o proj.o -Map proj.map analog.o
  r> generates lots of errors when run manually on the
  r> command line, but no errors are seen on the screen
  r> when it is run in the makefile. How can i see these?

Make does not suppress any messages; everything printed by the shell
script goes directly to the stdin/stderr of the make process.

  r> SUBDIRS= analog
  r> .PHONY: $(SUBDIRS) clean proj

  r> proj:   $(SUBDIRS)
  r>         cd objs \
  r>         avr-ld -o proj.o -Map proj.map $(addsuffix .o,$(SUBDIRS)) \
  r>         avr-objcopy -O ihex -R .eeprom -g proj.o proj.hex

You don't see any output because your commands are not being invoked.

This is due to the syntax errors I mentioned in your previous message;
you are missing semicolons between your commands.

Since you don't have semicolons, all your commands are being passed as
arguments to "cd".  Apparently the "cd" command in your shell does not
print any errors if you pass multiple arguments to it: it ignores
without comment all but the first.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to