...
 
Commits (4)
# 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)
else
$(shell printf 'WARNING: deprecated Makefile build enforced\n\n' >&2)
endif
MAKEFILE_CONF ?= Makefile.conf
-include $(MAKEFILE_CONF)
......
// used by the legacy makefile to test if libraries work
#include <stdio.h> /* jpeglib.h needs it */
#include CONFTEST_HEADER
int main(){
......