[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hello world demo with gtk condition
From: |
Ralf Wildenhues |
Subject: |
Re: hello world demo with gtk condition |
Date: |
Wed, 11 Jan 2006 16:10:46 +0100 |
User-agent: |
Mutt/1.5.11 |
[ again, please follow up to address@hidden only ]
* Matt Hull wrote on Wed, Jan 11, 2006 at 01:30:40AM CET:
> i am going to take a break from this i think. i have been reading
> examples manuals for at least 2 weeks on this. too much time. and i
> still can not get it to work.
I am sorry.
> i put the lastest try at
>
> icarus.cc.uic.edu/~mhull1/mine-0.0.9.tar.gz
This makes it much easier to see what is going wrong.
Try this as toplevel makefile.am. Note I cannot fully test because I do
not have the macro AX_COMPARE_VERSION (and thus cannot regenerate the
configure script).
You, the developer, *will* need an Automake version >= 1.8, I believe.
(Your users won't need Automake at all.)
Hope that helps. If not, please post what you did including
output/errors of the tools.
Cheers,
Ralf
-snip makefile.am-
AUTOMAKE_OPTIONS = subdir-objects
SUBDIRS =
bin_PROGRAMS = mine
mine_SOURCES = src/main.c
if WITH_GTK1
mine_SOURCES += src/gtk1/gtk1.c src/gtk1/gtk1.h
endif
if WITH_GTK2
mine_SOURCES += src/gtk2/gtk2.c src/gtk2/gtk2.h
endif
-snip-