Board index » cppbuilder » Issue with makefile.
Issue with makefile.
2004-05-05 11:18:34 PM
I have the following makefile :
CC = c:\borland\bcc55\bin\bcc32
OPTIONS = -6 -jb -M -u-
OBJECTS = pointth.obj vessels.obj services.obj
SOURCES = vessels.c services.c pointth.c
HEADERS = vessels.h services.h pointth.h
@echo "Build complete."
$(CC) $(OPTIONS) -tWC -o $@ $^ -lm
@echo "The Executable is called marina.exe"
pointth.obj: pointth.c pointth.h services.c vessels.c
vessels.obj: vessels.c vessels.h
services.obj: services.c services.h vessels.h
Using the CommandLine Tools v5.5 I get the following error when trying
to build the executable:
make -f makefile
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
bcc32 -6 -jb -M -u- -tWC -o marina.exe $ -lm
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Error E2194: Could not find file 'marina.exe'
** error 1 ** deleting marina.exe
I'm from a Unix environment and I know this makefile would work there,
but I can't see what I'm doing wrong. I'd appreciate any help on this.