[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 (X11/20091109)

I want the "unimain" program built first, then use it to generate, which is then compiled and linked into

  bin_PROGRAMS = unimain
  unimain_SOURCES = unimain.c


  librunicode_la_SOURCES = runicode.c runicode.h

  #nodist_librunicode_la_SOURCES =

  #BUILT_SOURCES = /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 >
  /bin/bash: ./unimain: No such file or directory
  make[1]: *** [] Error 127
  make[1]: Leaving directory `/home/russell/librunicode/src'
  make: *** [all] Error 2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]