Skip to content

C++ makefile project based on the LLVM/clang infrastructure.

License

Notifications You must be signed in to change notification settings

timkruse/macos-llvm-playgorund

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLVM/clang makefile project

This makefile project is tested with macOS 10.14.6 and clang version 8.0.1. This project is configured to build within VS Code, too.

Quick Start

Install LLVM/clang

$ brew install llvm

Adjust the LLVM_PATH variable in the makefile to your system

LLVM_PATH := /usr/local/opt/llvm

Build and run

$ make run

Print supported make targets

$ make help

Generate auxilliary files (preprocessor, assembler, llvm-ir)

Add aux=y to the make target. E.g.:

$ make all aux=y

VS Code

  • Build the project with Command+b
  • Run the project with Command+r
  • Clean the project with Command+Shift+k

About

C++ makefile project based on the LLVM/clang infrastructure.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published