Hello again guys. I would just like to ask for some help regarding the makefile I used for the inttohex program. It would not work and it would just say Missing separator. Stop..
Hope somebody could help. Here's the makefile:
Code:# makefile for exercise on linked lists, files, searching and sorting CC=gcc CFLAGS=-g -W -Wall -I. OBJECTS=inttohex.o HEADERS= PROGNAME=inttohex $(PROGNAME): $(OBJECTS) $(CC) $(CFLAGS) $(OBJECTS) -o $(PROGNAME) inttohex.o: inttohex.c $(HEADERS) $(CC) -c $(CFLAGS) -o inttohex.o .PHONY: clean ctags tags: ctags ctags: ctags -R clean: rm -rf $(OBJECTS) $(PROGNAME)