$(TOPDIR), make, tmpl/tex/en_technical: Make the uclient examples work

This commit is contained in:
Jan Lindemann 2001-07-16 20:58:56 +00:00 committed by Jan Lindemann
commit a9cdceebeb
4 changed files with 26 additions and 17 deletions

View file

@ -1,4 +1,4 @@
TOPDIR=.
CLEAN = include lib
SUBDIRS = $(shell find . -type d -maxdepth 1 | grep -ve "include\|CVS\|lib" | grep /)
SUBDIRS = $(shell find . -type d -maxdepth 1 | grep -ve "include\|CVS\|lib\|nomake" | grep /)
include $(TOPDIR)/make/dirs.mk

View file

@ -24,16 +24,16 @@ MEMBERS = $(LIB)($(OBJ))
PREFIX = ../
#MEMWATCH = -DMEMWATCH -DMW_STDIO
#YAMD = yamd-
EFENCE = -lefence
#CFLAGS = -DNDEBUG -O2 -g $(INCLUDE) $(LOCAL_CFLAGS) #production
CFLAGS = -Wall -D_DEBUG_ $(MEMWATCH) -g $(INCLUDE) $(LOCAL_CFLAGS)
CPPFLAGS = -Wall -D_DEBUG_ $(MEMWATCH) -g $(INCLUDE) $(LOCAL_CPPFLAGS)
LDFFTW = -lrfftw -lfftw -lm
#LDAUDIO = -laudiofile
LDFLAGS = -L$(LIBDIR) -l$(LIBNAME) -lg++
LDFLAGS = -L$(LIBDIR) $(EFENCE) -l$(LIBNAME) -lg++
LDREST = -ldl $(LDAUDIO) $(LDFFTW) $(LOCAL_LDFLAGS)
CC = $(YAMD)gcc
CPP = c++
CPP = $(YAMD)g++
RM = rm
AR = ar
INSTALL = install

View file

@ -26,12 +26,12 @@ $(TOPDIR)/include:
$(TOPDIR)/include/%.h:%.h $(TOPDIR)/include
cp $< $@
%.o: %.c %.h
$(CC) $(CFLAGS) -c $<
%.o: %.cc %h
%.o: %.cpp
$(CPP) $(CPPFLAGS) -c $<
%.o: %.c
$(CC) $(CFLAGS) -c $<
$(EXE): $(OBJ) $(LIB)
$(CC) $(OBJ) $(LDFLAGS) -o $@

View file

@ -30,6 +30,15 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\thispagestyle{empty}
\begin{figure}[t]
\begin{flushright}
%\begin{minipage}[t]{8cm}
%\includegraphics[width=6cm,height=3cm]{__FRONTLOGO_EPS__}
\includegraphics{__FRONTLOGO_EPS__}
%%\end{minipage}
\end{flushright}
\end{figure}
\begin{center}
\fbox{
\parbox[t]{15cm}
@ -48,24 +57,24 @@
\vspace{3cm}
\centerline{\large \bf __DATE__}
\centerline{\Large __DATE__}
\vspace{0.3cm}
\centerline{\large \bf Document Version: __VERSION__}
\centerline{\Large Document Version: __VERSION__}
\vspace{0.3cm}
\end{center}
\begin{figure}[b]
\begin{flushright}
\begin{minipage}[b]{8cm}
{\large \bf __AUTHORS__}
\end{minipage}
\hfill
\begin{minipage}[b]{8cm}
%\includegraphics[width=6cm,height=3cm]{__FRONTLOGO_EPS__}
\includegraphics{__FRONTLOGO_EPS__}
\begin{flushright}
{\Large __AUTHORS__}
\end{flushright}
\end{minipage}
\end{flushright}
\end{figure}