From: "Yogesh Sharma" Newsgroups: comp.os.msdos.djgpp Subject: makefile Date: Thu, 10 Jun 1999 22:59:31 -0400 Organization: Prodigy Internet http://www.prodigy.com Lines: 30 Message-ID: <7jpua1$11ci$1@newssvr01-int.news.prodigy.com> NNTP-Posting-Host: lnsgb103-16.splitrock.net X-Trace: newssvr01-int.news.prodigy.com 929070209 3623747 209.156.127.62 (11 Jun 1999 03:03:29 GMT) X-Complaints-To: abuse AT prodigy DOT net NNTP-Posting-Date: 11 Jun 1999 03:03:29 GMT X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello Gurus, I have : Make version 3.77 For MSDOS DjGPP version 2.8.1 For MSDOS Followiing makefile doesn't works : ********************************************** CC = gcc CFLAGS = -g -O2 OBJECTS = main.o foo.o libmain.a : $(OBJECTS) %.o : %.c $(CC) $(CFLAGS) -c $< ar rvs $@ Message "make.exe: *** No rule to make target `main.o', needed by `libmain.a'. Stop." ********************************************** Thanks Yogesh