-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (27 loc) · 981 Bytes
/
Copy pathMakefile
File metadata and controls
36 lines (27 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 2014-2016, Kurt Zeilenga. All rights reserved.
#
# Permission to use, copy, modify, and/or distribute this software
# for any purpose with or without fee is hereby granted, provided
# that the above copyright notice and this permission notice appear
# in all copies.
#
# Provided "as is" without warranty of any kind.
CPPFLAGS += `xml2-config --cflags` -g
#CPPFLAGS += -DCHARSET_EXPERIMENT `xml2-config --cflags` -g
CFLAGS += -g
XMLLIB = `xml2-config --libs`
all: ftm-strings ftm-test ftm-export ftm-import
clean:
-rm -f *.o ftm-import ftm-export ftm-strings ftm-test
ftm-import: ftm-import.o ftm-common.o
$(CXX) $(CFLAGS) $(LDFLAGS) $^ $(XMLLIB) -o $@
ftm-export: ftm-export.o ftm-common.o
$(CXX) $(CFLAGS) $(LDFLAGS) $^ -o $@
ftm-strings: ftm-strings.o ftm-common.o
$(CXX) $(CFLAGS) $(LDFLAGS) $^ -o $@
ftm-test: ftm-test.o ftm-common.o
$(CXX) $(CFLAGS) $(LDFLAGS) $^ -o $@
ftm-export.o: ftm.h
ftm-import.o: ftm.h
ftm-strings.o: ftm.h
ftm-test.o: ftm.h