##===- 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 = .
DIRS = lib
EXTRA_DIST = include

#
# Include the Master Makefile that knows how to build all.
#
include $(LEVEL)/Makefile.common

#
#run the Pass1 pass:
#
run_pass1:
	opt -load Release/lib/MultiPasses.so -pass1 < ../test/test.bc > /dev/null


#
#run the Pass2 pass:
#
run_pass2:
	opt -load Release/lib/MultiPasses.so -pass2 < ../test/test.bc > /dev/null


	
	