/bin/sh: Syntax Error: end of file unexpected

view story

http://stackoverflow.com – I am getting an error when running the following makefile with make -f makefile2 install (apart install the rest is working): all:myapp #which compiler CC = gcc #Where to install INSTDIR = /usr/local/bin #where are include files kept INCLUDE = . #Options for development CFLAGS = -g -Wall -ansi #Options for release # CFLAGS = -O -Wall -ansi myapp: main.o 2.o 3.o $(CC) -o myapp main.o 2.o 3.o main.o: main.c a.h $(CC) -I$(INCLUDE) $(CFLAGS) -c main.c 2.o: 2.c a.h b.h $(CC) -I$(INCLUDE) $(CFLAGS) -c 2.c 3.o: 3.c b.h c.h $(CC) -I$(INCLUDE) $(CFLAGS) -c 3.c clean: (HowTos)