Commits

lokkju committed 79742a4

cleaning up makefile

Comments (0)

Files changed (1)

 	rm -rf ./*.dylib* *~ core
 
 run:
-	DYLD_PRINT_LIBRARIES=1 DYLD_INSERT_LIBRARIES=$(shell pwd)/lib_override_volume_sensitivity_check.dylib $(CS5_INSTALLER_PATH)
+ifneq ($(shell whoami),root)
+	@echo "You are not root. Please rerun this command as root (sudo)"
+else
+	DYLD_INSERT_LIBRARIES=$(shell pwd)/lib_override_volume_sensitivity_check.dylib $(CS5_INSTALLER_PATH)
+endif