Mail Archives: djgpp/1996/08/13/00:00:30
Xref: | news2.mv.net comp.os.msdos.djgpp:7150
|
Message-ID: | <6EiByqTUccB@jocokko.edition.bonbit.org>
|
MIME-Version: | 1.0
|
From: | kay AT edition DOT bonbit DOT org (Kay Hayen)
|
Subject: | MAKEFILE
|
Date: | 12 Aug 1996 00:00:00 +0000
|
Newsgroups: | comp.os.msdos.djgpp
|
Distribution: | world
|
Lines: | 45
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hallo.
I have still some trouble using make in V2 of djgpp. See the below
makefile. When making "obj/main.o" the gcc/gpp just quits with this error
message:
g:\united\server>make
gcc
make.exe: *** [obj/main.o] Error -1
I couldn't find something in the FAQ, make calls the correct, not the
borland's, program as the following shows:
g:\united\server>make -v
GNU Make version 3.73, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
And here is the Makefile I'm working on:
OPTIONS = -Iinc/ -I../Shared/inc/ -fno-for-scope
U_Host.EXE: obj/main.o obj/serv.o obj/ligasys.o
gcc -oU_Host.EXE obj/main.o obj/ligasys.o obj/serv.o ../Shared/obj/
dynarray.o ../shared/obj/fileop.o ../Shared/obj/memory.o -lgpp
obj/main.o: sub/main.cpp
gcc
mem
echo Hallo
gpp -c sub/main.cpp -oobj/main.o
#$(OPTIONS)
obj/ligasys.o: sub/ligasys.cpp
gcc -c sub/ligasys.cpp -oobj/ligasys.o $(OPTIONS)
- Raw text -