--- Makefile.orig 2014-08-11 15:16:15.000000000 -0400 +++ Makefile 2014-09-29 11:58:53.471412866 -0400 @@ -1,15 +1,14 @@ # Makefile for countdown -BINDIR = /usr/local/bin -MANDIR = /usr/local/man/man1 -CC = cc -CFLAGS = -O -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long -LDFLAGS = -s +BINDIR= /usr/local/bin +MANDIR= /usr/local/man/man1 +CC?= cc +CFLAGS+= -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long all: countdown countdown: countdown.c - $(CC) $(CFLAGS) countdown.c $(LDFLAGS) -o countdown + $(CC) $(CFLAGS) countdown.c -o countdown install: all