Commits

Bart van Strien committed 4328b03

Not only check if LOVESRC is set, also verify it contains the right headers

Comments (0)

Files changed (1)

 	@echo Please set the LOVESRC environment variable to the root of the love source and try again
 	@false
 endif
+ifeq (,$(wildcard $(LOVESRC)/src/common/runtime.h*))
+	@echo Your LOVESRC environment variable does not point to a valid directory,
+	@echo point it to the root of the repository and try again.
+	@false
+endif
 
 clean:
 	$(RM) LuaDecoder.so