From: "Chris Dupuy" Newsgroups: comp.os.msdos.djgpp Subject: Makefile Beginner Date: Sat, 21 Nov 1998 19:34:16 -0500 X-ELN-Insert-Date: Sat Nov 21 16:45:01 1998 X-Newsreader: Microsoft Outlook Express 4.72.3110.1 Organization: EarthLink Network, Inc. X-Posted-Path-Was: not-for-mail Lines: 26 NNTP-Posting-Host: ip11.hartford4.ct.pub-ip.psi.net X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-ELN-Date: 22 Nov 1998 00:35:04 GMT Message-ID: <737m7o$jp0$1@oak.prod.itd.earthlink.net> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have been playing with djgpp for about three days now, I usually use MSVC for my compiler, but lately decided to check out djgpp. My problem is in the makefile, I can't seem to get any makefile to work properly, even when copying them directly out of the HTML help page. Here is my make as it sits, and the message I am getting back is "unable to find rule to make target gcc needed by main.o".. What? My make seems to work ok on the Linux box, am I missing something, or am i just stupid? CC=gcc CFLAGS = -c MkTest.exe : main.o serversocket.o main.o : main.cc $(CC) $(CFLAGS) main.cc -o main.o serversocket.o : serversocket.cc $(CC) $(CFLAGS) -c serversocket.cc -o serversocket.o