Ok , I am using dev c for my IDE.
I am trying to use my own built make file but it is not working
I have tried tabs , spaces I am still getting *** missing seperator.
As well as
Anybody see any problems or where I should have tabs?
I am trying to use my own built make file but it is not working
I have tried tabs , spaces I am still getting *** missing seperator.
As well as
Anybody see any problems or where I should have tabs?
Rich (BB code):
CC = gcc
LINK = ld
INCS =
LIBS =
RES =
SOURCE = $(wildcard *.c)
OBJ = $(wildcard *.o)
BIN = kernel.bin
RM = rm -f
CFLAGS = $(INCS) -Wall -O -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -c
LFLAGS = -T link.ld
all:
$(CC) $(CFLAGS) $(SOURCE)
all:
$(LINK) $(LFLAGS) $(OBJ) -o $(BIN)
.PHONY: all all-before all-after clean clean-custom
clean: clean-custom
${RM} $(OBJ)