13
TARGETS=waitbar.oct $(LISTEN) xmlread.oct hex2num.cc \
14
csvexplode.oct csv2cell.oct csvconcat.oct cell2csv.oct
18
waitbar.oct: waitbar.cc
19
$(MKOCTFILE) $(MISCDEFS) waitbar.cc $(TERM_LIB)
21
listen.oct: listen.o listencanfork.o stringmatch.o
22
$(MKOCTFILE) listen.o listencanfork.o stringmatch.o
25
$(MKOCTFILE) -c $(MISCDEFS) listen.cc
27
listencanfork.o: listencanfork.c
28
$(MKOCTFILE) -c listencanfork.c
30
stringmatch.o: stringmatch.c
31
$(MKOCTFILE) -c stringmatch.c
33
xmltree.o: xmltree.c xmltree.h
34
$(MKOCTFILE) $(MISCDEFS) -c $<
37
# flexml is a dead project. It requires flex 2.5.4a-6 (flex-old on Debian).
38
# Further, we have modified the resulting xmltree_read.c by hand, changing
39
# all occurrences of yy to xml_ and YY to XML_. Some other changes have be
40
# mode so the ouput of flexml won't be as correct as the actual committed C
42
xmltree_read.l: xmltree_read.act octave.dtd
44
xmltree_read.c: xmltree_read.l
45
$(FLEX) -B -Pxml_ -o$@ $<
48
xmltree_read.o: xmltree_read.c xmltree_read.h
49
$(MKOCTFILE) $(MISCDEFS) -c $<
51
xmlread.o: xmlread.cc xmltree_read.h xmltree.h
52
$(MKOCTFILE) $(MISCDEFS) -c $<
54
xmlread.oct: xmlread.o xmltree_read.o xmltree.o
57
csvexplode.oct: csvexplode.cc
58
$(MKOCTFILE) $(MISCDEFS) $<
60
csv2cell.oct: csv2cell.cc
61
$(MKOCTFILE) $(MISCDEFS) $<
63
csvconcat.oct: csvconcat.cc
64
$(MKOCTFILE) $(MISCDEFS) $<
66
cell2csv.oct: cell2csv.cc
67
$(MKOCTFILE) $(MISCDEFS) $<
69
hex2num.oct: hex2num.cc
70
$(MKOCTFILE) $(MISCDEFS) $<
72
clean: ; -$(RM) *.o octave-core core *.oct *~ $(t2.1.58)
1
MKOCTFILE = mkoctfile -Wall
3
PROGS = $(patsubst %.cc,%.oct,$(wildcard *.cc))
11
rm -f *.o octave-core core *.oct *~