Hi all,
I'm trying to generate a Makefile based on an Imakefile provide with RH
Motif 2.1 demos programs. xmkmf run fine and target the corresponding
Makefile. But when I run make under this makefile, it'allways hang with
$ xmkmf -a
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make Makefiles
Makefile:628: *** missing separator. Stop.
The Imakefile :
----------------- BEGIN-------------------
XCOMM$ xmkmf -a
DEPLIBS = MrmClientDepLibs
LOCAL_LIBRARIES = MrmClientLibs
SRCS = flic.c
OBJS = flic.o
NormalLibraryObjectRule()
MSimpleUilTarget(flic)
DependTarget()
-------------------END--------------------
When in my Imake file I comment the line MSimpleUilTarget(flic)
and run again xmkmf the make command seems advance one step more.
I found that in fact any demos programs provide with Motif cannot be
compiled beecause of the same problem. All the rules call from my
Imakefile refers to Motif.rules under /usr/X11R6/lib/X11/config.
I'm not a guru in X11 makefile and and I don't know enough the
preprocessor system to find solution. Does someone have an idea. About
the mistake. May be an installation problem ???
Thierry DELHAISE