[hackers] [libutf] update makefile || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Sun, 15 Apr 2012 14:29:31 +0200 (CEST)

changeset: 4:f0551ceaf604
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Sun Apr 15 13:29:29 2012 +0100
files: Makefile
description:
update makefile


diff -r 1b405fde03d9 -r f0551ceaf604 Makefile
--- a/Makefile Sun Apr 15 13:15:40 2012 +0100
+++ b/Makefile Sun Apr 15 13:29:29 2012 +0100
_AT_@ -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 $_AT_ $(OBJ)
+ $(CC) $(LDFLAGS) -o $_AT_ $(OBJ)
 
 .c.o:
- cc $(CFLAGS) -c $<
+ $(CC) $(CFLAGS) -c $<
 
 clean:
         rm -f utftest $(OBJ)
Received on Sun Apr 15 2012 - 14:29:31 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 15 2012 - 14:36:06 CEST