Re: Alias saving question

From: ShadowLord (
Date: 06/30/96

On Sun, 30 Jun 1996, Mud Admin wrote:

> make[1]: *** No rule to make target `gcc', needed by `alias.o'.  Stop.
> I added the alias.o to the objfiles, and the 
>  alias.o : alias.c structs.h utils.h interpreter.h
>            $(CC) -c $(CFLAGS) alias.c

The general format is:

  obj_file: c_file other_dependencies
  <TAB>c_comp -c flags c_file

So, here's what a CircleMUD make rule looks like (without the preceeding
white spaces):

  alias.o: alias.c structs.h interpreter.h utils.h
	  $(CC) -c $(CFLAGS) alias.c

Note the <tab> instead of whitespaces.  This is probably your problem.
Also, make sure that the previous line DOES NOT have a backslash (\) on

Good luck,

This archive was generated by hypermail 2b30 : 12/18/00 PST