Diff

util-src/Makefile @ 3769:9338d0785277

util-src/Makefile, util-src/encodings.c{,pp}: Port ICU code to C, rename encodings.cpp back to .c and amend the Makefile accordingly
author Matthew Wild <mwild1@gmail.com>
date Fri, 17 Dec 2010 22:32:21 +0000
parent 3762:f02bac902a1e
child 3963:18b82491dc88
line wrap: on
line diff
--- a/util-src/Makefile	Fri Dec 17 22:54:34 2010 +0500
+++ b/util-src/Makefile	Fri Dec 17 22:32:21 2010 +0000
@@ -13,11 +13,11 @@
 .SUFFIXES: .c .o .so
 
 encodings.o:
-	$(CXX) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.cpp
+	$(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.c
 
 encodings.so: encodings.o
 	MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;
-	$(CXX) $(LDFLAGS) $(IDNA_LIBS) -o encodings.so encodings.o -lcrypto
+	$(CC) $(LDFLAGS) $(IDNA_LIBS) -o encodings.so encodings.o -lcrypto
 
 .c.o:
 	$(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $<