##===- projects/sample/Makefile ----------------------------*- Makefile -*-===## # # This is a sample Makefile for a project that uses LLVM. # ##===----------------------------------------------------------------------===## # # Indicates our relative path to the top of the project's root directory. # LEVEL = ../../.. # # Directories that needs to be built. # DIRS = SAMPLES = fibonacci hello prime LLVMC_EXEC = $(TOOLDIR)/llvmc all :: $(SAMPLES) ifdef OPTIMIZE % : %.st @$(ECHO) "Compiling and Optimizing $(