[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building prog first
From: |
Russell Shaw |
Subject: |
Building prog first |
Date: |
Sun, 21 Mar 2010 17:06:00 +1100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20091109) |
Hi,
I want the "unimain" program built first, then use it to generate
unidata.tab.c, which is then compiled and linked into librunicode.la
bin_PROGRAMS = unimain
unimain_SOURCES = unimain.c
lib_LTLIBRARIES = librunicode.la
librunicode_la_SOURCES = runicode.c runicode.h
#nodist_librunicode_la_SOURCES = unidata.tab.c
#BUILT_SOURCES = unidata.tab.c
unidata.tab.c: /usr/share/unicode/UnicodeData.txt
./unimain $< > $@
How do i get "unimain" built first? I get the error:
make all-am
make[1]: Entering directory `/home/russell/librunicode/src'
./unimain /usr/share/unicode/UnicodeData.txt > unidata.tab.c
/bin/bash: ./unimain: No such file or directory
make[1]: *** [unidata.tab.c] Error 127
make[1]: Leaving directory `/home/russell/librunicode/src'
make: *** [all] Error 2
- Building prog first,
Russell Shaw <=
- Re: Building prog first, Ralf Wildenhues, 2010/03/21
- Re: Building prog first, Russell Shaw, 2010/03/21
- Re: Building prog first, Russell Shaw, 2010/03/21
- Re: Building prog first, Alfred M. Szmidt, 2010/03/21
- Re: Building prog first, Ralf Wildenhues, 2010/03/21
- Re: Building prog first, Russell Shaw, 2010/03/21
- Re: Building prog first, Ralf Wildenhues, 2010/03/21
- Re: Building prog first, Russell Shaw, 2010/03/21
- Re: Building prog first, Alfred M. Szmidt, 2010/03/21