About autoconf/automake problem
- From: Ariel Rios <ariel linuxppc org>
- To: michael ximian com
- Cc: gnome-hackers gnome org
- Subject: About autoconf/automake problem
- Date: 13 Apr 2001 13:27:10 -0400
I lost your original mail but...
Suppose you want to compile foo that needs main.c and foo.c (that is
generated from another file let's say a def file)
so you do:
bin_PROGRAMS = foo
bin_SCRIPTS = build-foo
foo_SOURCES_la_SOURCES = main.c foo.c
BUILT_SOURCES = foo.c
BUILD = $(srcdir)/build-foo
foo.c: $(BUILD) foo.defs
Makefile: $(BUILT_SOURCES)
THis will do the trick.
Look at guile-gtk for a real life example.
Hope this helps
ariel
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]