www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/23/08:01:37

From: thompson DOT roger AT ic DOT gc DOT ca ( Roger J. Thompson)
Newsgroups: comp.os.msdos.djgpp
Subject: Problem with MAKE
Date: Mon, 23 Sep 1996 10:26:05 GMT
Organization: Industry Canada
Lines: 31
Message-ID: <32466476.1866268@news.doc.ca>
NNTP-Posting-Host: 161.187.198.101
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I've just started using DJGPP.

The problem I have is in the following makefile. it keeps reporting
that I have a missing seperator.  The makefile works fine with Borland
and MS, but not version 3.73 of GNU Make.  Any suggestions as to what
Iam doing wrong?  The test.c is just an empty procedure.
-------------------------------------------------------------------------------------
#Test makefile

CFLAGS = -I. -Wall -m486 -O3
SFLAGS = -I. -Wall
LFLAGS = -s
CC = gcc

all : test

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

%.exe : %.o
        $(CC) $(LFLAGS) -o $@ $< 

test : test.exe

#Dependencies
test.o: test.c test.h
-----------------------------------------------------------------------------------


Roger J. Thompson
thompson DOT roger AT ic DOT gc DOT ca

- Raw text -


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