www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/15/20:19:51

Xref: news-dnh.mv.net comp.os.msdos.djgpp:4396
From: John Fortin <fortin44 AT eelab DOT newpaltz DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Make error...Help
Date: Mon, 15 Jan 1996 02:08:46 -0800
Organization: SUNY New Paltz
Lines: 51
Message-ID: <30FA27AE.17A3@eelab.newpaltz.edu>
NNTP-Posting-Host: sol.eelab.newpaltz.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

This is a multi-part message in MIME format.

-----------------------------140417804445
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

When I try to make the attached makefile I get the following error

makefile.dj:13: ***Target pattern contains no '%'. Stop

Anyone know why???

I checked the tabs, they are tabs, and other things like putting the 
complete path in.

I can compile and run by hand, but not with make.

TIA
John Fortin

-----------------------------140417804445
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="MAKEFILE.DJ"

#
# Makefile for DJGPP
#
DJGPP = d:\djgpp
CC = gcc
CFLAGS = -Wall

OBJS = enumw_dj.o

all: enumw_dj.w32 enumw_dj.exe
	@echo ready

enumw_dj.exe: $(DJGPP)\rsxwdk\rsxw32.exe
	copy /B $(DJGPP)\rsxwdk\rsxw32.exe enumw_dj.exe

enumw_dj.w32: $(OBJS) $(DJGPP)\rsxwdk\lib\libdj\libwin.a
	$(CC) $(OBJS) -o enumw_dj.w32 -sys -v

relink:
	$(CC) $(OBJS) -o enumw_dj.w32 -sys -v

enumw_dj.o: enumw.c
	$(CC) $(CFLAGS) -c -o $@ enumw.c

-----------------------------140417804445--

- Raw text -


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