Showing posts with label make. Show all posts
Showing posts with label make. Show all posts

Determine the existence of a file in Makefile

Combine "wildcard" and "ifeq". For example,
ifneq "$(wildcard Makefile.inc)" ""
include Makefile.inc
endif
GNU Make is powerful!