From: Thomas Debesse Date: Sun, 13 Oct 2019 00:52:52 +0000 (+0200) Subject: makefile: remind future ourselves that conftest.cpp belongs to the legacy Makefile X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=e045633a14169be8235f34dad3f74fa4b308350e makefile: remind future ourselves that conftest.cpp belongs to the legacy Makefile --- diff --git a/Makefile b/Makefile index 5a9252ea..ff8161fb 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +# TODO: when deleting this Makefile, don't forget to also delete conftest.cpp +# which is only required by this Makefile + ifeq ($(I_KNOW_MAKEFILE_IS_DEPRECATED),) $(shell printf 'ERROR: Makefile build is deprecated, use CMake instead, see README.md\n\n' >&2) $(error I_KNOW_MAKEFILE_IS_DEPRECATED is not set) diff --git a/conftest.cpp b/conftest.cpp index 10b7a620..1c5721fc 100644 --- a/conftest.cpp +++ b/conftest.cpp @@ -1,3 +1,5 @@ +// used by the legacy makefile to test if libraries work + #include /* jpeglib.h needs it */ #include CONFTEST_HEADER int main(){