[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
build package in sub folder not finding main
From: |
Matt Hull |
Subject: |
build package in sub folder not finding main |
Date: |
Sat, 7 Jan 2006 16:02:09 -0600 (CST) |
i have a simple hello world i am trying to get working. i have:
src/main.c
src/gtk/gtkmain.c
src/gtk/gtkmain.h
i almost got it working except that when it tries to build gtkmain it
fails with undefined reference to main. looks like its trying to build a
final appllication and link it together. but the gtkmain is only enabled
when the user selects it from configure as such:
./configure --with-gtk
src/makefile.am has
bin_PROGRAMS = mine
mine_SOURCES = main.c
src/gtk/makefile.am has
bin_PROGRAMS = gtk
gtk_SOURCES = gtk.c gtk.h
how can i build the dependencies without linking ?
thanks
matt
- build package in sub folder not finding main,
Matt Hull <=