Comparison

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
comparison
equal deleted inserted replaced
3768:01cc9cbcbd52 3769:9338d0785277
11 LD?=gcc 11 LD?=gcc
12 12
13 .SUFFIXES: .c .o .so 13 .SUFFIXES: .c .o .so
14 14
15 encodings.o: 15 encodings.o:
16 $(CXX) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.cpp 16 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.c
17 17
18 encodings.so: encodings.o 18 encodings.so: encodings.o
19 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; 19 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;
20 $(CXX) $(LDFLAGS) $(IDNA_LIBS) -o encodings.so encodings.o -lcrypto 20 $(CC) $(LDFLAGS) $(IDNA_LIBS) -o encodings.so encodings.o -lcrypto
21 21
22 .c.o: 22 .c.o:
23 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< 23 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $<
24 24
25 .o.so: 25 .o.so: