From: ed toivanen Newsgroups: comp.os.msdos.djgpp Subject: I run make, but get no target, or no rule for target test1. Date: Thu, 07 May 1998 17:39:00 -0700 Organization: BCTEL Advanced Communications Lines: 26 Message-ID: <35525424.F6809612@bc.sympatico.ca> NNTP-Posting-Host: m84.bctel.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I am running make 3.76.1, and wrote my first makefile, test1.mak and test1.mk. When I run make, or make test1, I get the above error messages. make clean also doesn't work. I copied the makefile from the faq, with appropriate changes, but can't figure out the problem. Normally I just run gpp*.cpp, but am trying to expand my horizons by using make. I am using win95, 32MB of ram and several hundred MB disk space. ------------------------test1.mak------------------------ objects = main.o cgi.o mem.o test1 : $(objects) gpp -o test1 $(objects) main.o : main.cpp main.h gpp -c main.cpp cgi.o : cgi.cpp cgi.h gpp -c cgi.cpp mem.o : mem.cpp mem.h gpp -c mem.c clean : del/y test1 $(objects) ----------------------------end file----------------------------------