SYSTEMC_PATH=/home/fam/downloads/source/systemc/systemc-2.3.2 SYSTEMC_INC=$(SYSTEMC_PATH)/src SYSTEMC_LIB=$(SYSTEMC_PATH)/src/.libs PROJECT=cpu_srlatch make: g++ $(PROJECT).cpp -I$(SYSTEMC_INC) -L$(SYSTEMC_LIB) -Wl,-rpath=$(SYSTEMC_LIB)\ -o $(PROJECT) -lsystemc -lm