mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-24 14:50:38 +01:00
$(TOPDIR), make, tmpl/tex/en_technical: Make the uclient examples work
This commit is contained in:
parent
e0f0ca6260
commit
a9cdceebeb
4 changed files with 26 additions and 17 deletions
2
Makefile
2
Makefile
|
|
@ -1,4 +1,4 @@
|
||||||
TOPDIR=.
|
TOPDIR=.
|
||||||
CLEAN = include lib
|
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
|
include $(TOPDIR)/make/dirs.mk
|
||||||
|
|
|
||||||
|
|
@ -24,16 +24,16 @@ MEMBERS = $(LIB)($(OBJ))
|
||||||
PREFIX = ../
|
PREFIX = ../
|
||||||
#MEMWATCH = -DMEMWATCH -DMW_STDIO
|
#MEMWATCH = -DMEMWATCH -DMW_STDIO
|
||||||
#YAMD = yamd-
|
#YAMD = yamd-
|
||||||
|
EFENCE = -lefence
|
||||||
#CFLAGS = -DNDEBUG -O2 -g $(INCLUDE) $(LOCAL_CFLAGS) #production
|
#CFLAGS = -DNDEBUG -O2 -g $(INCLUDE) $(LOCAL_CFLAGS) #production
|
||||||
CFLAGS = -Wall -D_DEBUG_ $(MEMWATCH) -g $(INCLUDE) $(LOCAL_CFLAGS)
|
CFLAGS = -Wall -D_DEBUG_ $(MEMWATCH) -g $(INCLUDE) $(LOCAL_CFLAGS)
|
||||||
CPPFLAGS = -Wall -D_DEBUG_ $(MEMWATCH) -g $(INCLUDE) $(LOCAL_CPPFLAGS)
|
CPPFLAGS = -Wall -D_DEBUG_ $(MEMWATCH) -g $(INCLUDE) $(LOCAL_CPPFLAGS)
|
||||||
LDFFTW = -lrfftw -lfftw -lm
|
LDFFTW = -lrfftw -lfftw -lm
|
||||||
#LDAUDIO = -laudiofile
|
#LDAUDIO = -laudiofile
|
||||||
LDFLAGS = -L$(LIBDIR) -l$(LIBNAME) -lg++
|
LDFLAGS = -L$(LIBDIR) $(EFENCE) -l$(LIBNAME) -lg++
|
||||||
LDREST = -ldl $(LDAUDIO) $(LDFFTW) $(LOCAL_LDFLAGS)
|
LDREST = -ldl $(LDAUDIO) $(LDFFTW) $(LOCAL_LDFLAGS)
|
||||||
CC = $(YAMD)gcc
|
CC = $(YAMD)gcc
|
||||||
CPP = c++
|
CPP = $(YAMD)g++
|
||||||
RM = rm
|
RM = rm
|
||||||
AR = ar
|
AR = ar
|
||||||
INSTALL = install
|
INSTALL = install
|
||||||
|
|
|
||||||
|
|
@ -26,12 +26,12 @@ $(TOPDIR)/include:
|
||||||
$(TOPDIR)/include/%.h:%.h $(TOPDIR)/include
|
$(TOPDIR)/include/%.h:%.h $(TOPDIR)/include
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
%.o: %.c %.h
|
%.o: %.cpp
|
||||||
$(CC) $(CFLAGS) -c $<
|
|
||||||
|
|
||||||
%.o: %.cc %h
|
|
||||||
$(CPP) $(CPPFLAGS) -c $<
|
$(CPP) $(CPPFLAGS) -c $<
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
$(CC) $(CFLAGS) -c $<
|
||||||
|
|
||||||
$(EXE): $(OBJ) $(LIB)
|
$(EXE): $(OBJ) $(LIB)
|
||||||
$(CC) $(OBJ) $(LDFLAGS) -o $@
|
$(CC) $(OBJ) $(LDFLAGS) -o $@
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,15 @@
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\thispagestyle{empty}
|
\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}
|
\begin{center}
|
||||||
\fbox{
|
\fbox{
|
||||||
\parbox[t]{15cm}
|
\parbox[t]{15cm}
|
||||||
|
|
@ -48,24 +57,24 @@
|
||||||
|
|
||||||
\vspace{3cm}
|
\vspace{3cm}
|
||||||
|
|
||||||
\centerline{\large \bf __DATE__}
|
\centerline{\Large __DATE__}
|
||||||
|
|
||||||
\vspace{0.3cm}
|
\vspace{0.3cm}
|
||||||
|
|
||||||
\centerline{\large \bf Document Version: __VERSION__}
|
\centerline{\Large Document Version: __VERSION__}
|
||||||
|
|
||||||
\vspace{0.3cm}
|
\vspace{0.3cm}
|
||||||
|
|
||||||
\end{center}
|
\end{center}
|
||||||
|
|
||||||
\begin{figure}[b]
|
\begin{figure}[b]
|
||||||
|
\begin{flushright}
|
||||||
\begin{minipage}[b]{8cm}
|
\begin{minipage}[b]{8cm}
|
||||||
{\large \bf __AUTHORS__}
|
\begin{flushright}
|
||||||
|
{\Large __AUTHORS__}
|
||||||
\end{minipage}
|
\end{flushright}
|
||||||
\hfill
|
|
||||||
\begin{minipage}[b]{8cm}
|
|
||||||
%\includegraphics[width=6cm,height=3cm]{__FRONTLOGO_EPS__}
|
|
||||||
\includegraphics{__FRONTLOGO_EPS__}
|
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
|
\end{flushright}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue