www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/14/10:45:20

From: adamwu <geewu AT biosys DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: MAKE error
Date: Mon, 15 Jun 1998 00:20:10 +1000
Organization: The Zipsters
Lines: 23
Message-ID: <3583DC1A.70BB@biosys.net>
Reply-To: geewu AT biosys DOT net
NNTP-Posting-Host: 203.62.148.170
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Can anyone help me this error, thanx

I run djgpp from win95 under DOS prompt
here is my makefile

CC = g++
CFLAGS = -Wall
OBJECTS = main.o rules.o defeat.o closure.o

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

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

and when i run make, it gives me this error:
g++ - Wall -c rules.cc
make.exe: *** [rules.o] Error -1

MAKE version 3.76.1
I also try to run my makefile under Unix platform, it works fine
just dont know what happen there, Do i have to change setting for my
Config.sys or autoexec.bat?

- Raw text -


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