[LLVMdev] Simple make script

Vikram S. Adve vadve at cs.uiuc.edu
Sun Sep 15 12:02:00 PDT 2002


I added a simple script called "makellvm" in the base llvm directory to
build a library and an executable with one command.  The script runs gnumake
in the current directory, and if that completes successfully, it chdir's to
your llvm/tools/<toolname> and runs gnumake there.  <toolname> can be
specified on the command name and if not, it defaults to opt.

Examples:
  makellvm	   ## run gnumake in $cwd, then in tools/opt
  makellvm llc ## run gnumake in $cwd, then in tools/llc
  makellvm -h  ## print usage message

--Vikram

----------------------------------------------------------------------
 VIKRAM S. ADVE
 Assistant Professor                         E-MAIL: vadve at cs.uiuc.edu
 Department of Computer Science                 PHONE:  (217) 244-2016
 Univ. of Illinois at Urbana-Champaign          FAX:    (217) 244-6869
 1304 W. Springfield Ave.                http://www.cs.uiuc.edu/~vadve
 Urbana IL 61801.
----------------------------------------------------------------------




More information about the llvm-dev mailing list