OnWorks favicon

make-first-existing-target - Online in the Cloud

Run make-first-existing-target in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command make-first-existing-target that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



make-first-existing-target - runs make on one of several targets


make-first-existing-target [-c cmd] target1 [target2 ...] -- [make-options]


The design of make(1) causes difficulty when you know that a Makefile probably has one of
several standardized target names, and want build machinery to run exactly one of them,
propagating any errors. make(1) will exit 2 if a target does not exist, but an existing
target may also exit 2 due to some other failure. Makefiles cannot be reliably parsed to
find targets by anything less Turing-complete than make, and make itself does not provide
a way to enumerate the targets in a Makefile. It may not even be possible to enumerate the
targets in a Makefile without executing part of it. (Proof of this is left as an exercise
for the reader.)

This program avoids the problems described above, by attempting to call each specified
target in turn, until it observes make actually doing something for one of them.


-c cmd
This can be used to specify the make command to run. Default is "make".


The exit status is 0 if at least one target existed and was successfully run, and nonzero

Use make-first-existing-target online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 2
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 3
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 4
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 5
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    Download Dolibarr ERP - CRM
  • 6
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    Download SQuirreL SQL Client
  • More »

Linux commands