commit e04271bb0e4b0cfeabed0ecbed7155666d1468c9 parent 81c72318ddbf5fd98870d1a0824f67665df2ca7b Author: Connor Lane Smith <cls@lubutu.com> Date: Sun, 15 Apr 2012 16:57:17 +0100 add config.mk Diffstat:
Makefile | | | 7 | ++----- |
config.mk | | | 6 | ++++++ |
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,13 +1,10 @@ # See LICENSE file for copyright and license details. +include config.mk + SRC = utf.c utftest.c OBJ = $(SRC:.c=.o) -CC = cc - -CFLAGS = -ansi -pedantic -std=c89 -Wall -Wextra -LDFLAGS = -Os -s - all: utftest utftest: $(OBJ) diff --git a/config.mk b/config.mk @@ -0,0 +1,6 @@ +# See LICENSE file for copyright and license details. + +CFLAGS = -ansi -pedantic -Os -Wall -Wextra +LDFLAGS = -s + +CC = cc