delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/04/12:29:19

Message-Id: <19757.9607041600@vvl.co.uk>
To: djgpp AT delorie DOT com
Reply-To: ians AT vvl DOT co DOT uk
From: ians AT vvl DOT co DOT uk (Ian Stevenson)
Subject: Problem with GNU make...
Date: Thu, 04 Jul 96 16:10:15 BST

I think I may be going nuts...

Makefiles, kids stuff really.

Example:

### Makefile:
CC=gcc
CFLAGS=-g
INCLUDE_DIR=D:\IANS\DJGPP\V2\INCLUDE

cccp.o: cccp.c
        $(CC) $(CFLAGS)-I. -I $(INCLUDE) -c cccp.c
###




### Result:
D:\IANS\DJGPP\v2gnu\gnu\gcc-272>make -f makefile cccp.o
makefile:6: *** missing separator.  Stop.
###


'make' is the version of GNU make with DJGPP v2 i.e. 3.73


What did I do wrong?

- Raw text -


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