blob: 2bd8d723251fb7a325f0aadc564425d1899b13f2 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
%% Oh Emacs, this is a -*- Makefile -*-, so give me tabs.
\documentclass{article}
\usepackage{axiom}
\title{\File{src/graph/viewAlone/Makefile} Pamphlet}
\author{Timothy Daly \and Gabriel Dos~Reis}
\begin{document}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{environment}
<<environment>>=
# local include files shared by graphics
LINC= $(axiom_src_srcdir)/graph/include
# global include files shared by everyone
GINC= $(axiom_src_srcdir)/include
build_libdir = $(abs_top_builddir)/src/lib
bin_PROGRAMS = viewAlone$(EXEEXT)
viewAlone_sources = viewAlone.c spoonComp.c spoon2D.c
viewAlone_SOURCES = $(addsuffix .pamphlet, $(viewAlone_sources))
viewAlone_objects = $(viewAlone_sources:.c=.lo)
viewAlone_LDADD = $(axiom_target_libdir)/libspad.la
viewAlone_DEPENDENCIES =
pamphlets = Makefile.pamphlet $(viewAlone_SOURCES)
@
\section{viewAlone}
<<viewAlone>>=
$(axiom_target_bindir)/viewAlone$(EXEEXT): $(viewAlone_objects) \
$(viewAlone_DEPENDENCIES)
$(LINK) -o $@ $(viewAlone_objects) $(viewAlone_LDADD) \
$(AXIOM_X11_LDFLAGS)
.PRECIOUS: %.lo
.PRECIOUS: %.c
%.lo: $(HEADERS)
%.lo: %.c $(axiom_c_macros_h)
$(COMPILE) -o $@ $(CFLAGS) $(AXIOM_CFLAGS) $<
%.c: $(srcdir)/%.c.pamphlet
$(axiom_build_document) --tangle --output=$@ $<
@
<<*>>=
<<environment>>
subdir = src/graph/viewAlone/
AXIOM_CFLAGS = ${CCF} ${AXIOM_X11_CFLAGS} -I$(srcdir) -I${LINC} -I${GINC} \
$(axiom_includes)
HEADERS= $(srcdir)/viewAlone.h ${LINC}/component.h ${LINC}/view2D.h \
${LINC}/view3D.h ${LINC}/tube.h ${LINC}/actions.h \
${LINC}/viewCommand.h
.PHONY: all all-ax all-viewAlone
all: all-ax
all-ax all-viewAlone: stamp
@echo finished $(builddir)
stamp: $(axiom_target_bindir)/viewAlone$(EXEEXT)
@rm -f stamp
$(STAMP) stamp
<<viewAlone>>
mostlyclean-local:
clean-local: mostlyclean-local
@rm -f $(viewAlone_sources) $(viewAlone_objects)
@rm -f $(axiom_target_bindir)/viewAlone$(EXEEXT)
distclean-local: clean-local
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}
|