cvs.delorie.com/djgpp/bugs/show.cgi   search  
Bug 000284

When Created: 05/26/1999 23:00:24
Against DJGPP version: 2.02
By whom: sharmayogesh@yahoo.com
Abstract: Make " No Rules for main.o "
Make version 3.77 For MSDOS
GCC version 2.8.1 For MSDOS

Followiing doesn't works :

CC = gcc
CFLAGS = -g -O2
OBJECTS = main.o foo.o

main.exe : $(OBJECTS)
	$(CC) $(CFLAGS) $(OBJECTS) -o main.exe

%.o : %.c
	$(CC) $(CFLAGS) -c $<


Message "make.exe: *** No rule to make target `main.o', needed by `main.exe'.  Stop."

Thanks

Yogesh

Note added: 06/03/1999 02:00:16
By whom: eliz@is.elta.co.il
This is most probably a user error.  In any case, it's not about core
DJGPP software.

I'm closing the report.

Closed on 06/03/1999 03:00:00: Not a DJGPP bug (probably, not a bug at all).
By whom: eliz@is.elta.co.il



  webmaster     delorie software   privacy  
  Copyright © 2010   by DJ Delorie     Updated Jul 2010