blob: 417b5a36e273638b751539244847959b5534c635 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# SFconv - ultra quick-and-dirty piece of code....
expat_o = expat/xmlparse/xmlparse.o \
expat/xmlparse/hashtable.o \
expat/xmltok/xmlrole.o \
expat/xmltok/xmltok.o
objs = SFconv.o ConvertUTF.o $(expat_o)
libs = -lstdc++ -lgcc -lc
CFLAGS = -I../source/Public-headers -I./expat/xmlparse -I./expat/xmltok -DXML_DTD
sfconv: $(objs) /usr/local/lib/TECkit.dylib
$(CC) $(CFLAGS) -o $@ $(objs) /usr/local/lib/TECkit.dylib $(libs)
SFconv.o: SFconv.cpp sfReader.h
$(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
install: sfconv
cp sfconv /usr/local/bin/
clean:
rm -f $(objs) sfconv
|