commit 81c72318ddbf5fd98870d1a0824f67665df2ca7b parent 8092d6ff91a1f46f5cc409ed26489462baca7ec8 Author: Connor Lane Smith <cls@lubutu.com> Date: Sun, 15 Apr 2012 13:29:29 +0100 update makefile Diffstat:
Makefile | | | 8 | +++++--- |
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile @@ -3,16 +3,18 @@ SRC = utf.c utftest.c OBJ = $(SRC:.c=.o) -CFLAGS = -ansi -pedantic -Wall -Wextra -D_ANSI_SOURCE +CC = cc + +CFLAGS = -ansi -pedantic -std=c89 -Wall -Wextra LDFLAGS = -Os -s all: utftest utftest: $(OBJ) - cc $(LDFLAGS) -o $@ $(OBJ) + $(CC) $(LDFLAGS) -o $@ $(OBJ) .c.o: - cc $(CFLAGS) -c $< + $(CC) $(CFLAGS) -c $< clean: rm -f utftest $(OBJ)