mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
Build / build-musl (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
18 lines
628 B
Makefile
18 lines
628 B
Makefile
# If Makefile exists (generated by ./configure in this directory), delegate
|
|
# directly to it so that in-tree builds work normally as if this file were absent.
|
|
# Otherwise, redirect all targets to linux/Makefile for out-of-tree builds.
|
|
# Named GNUmakefile so it takes precedence in GNU Make without conflicting with
|
|
# Makefile on case-insensitive filesystems (Windows/macOS).
|
|
ifeq ($(wildcard Makefile),Makefile)
|
|
include Makefile
|
|
else ifeq ($(wildcard linux/Makefile),linux/Makefile)
|
|
all doc:
|
|
$(MAKE) -C linux $@
|
|
|
|
.DEFAULT:
|
|
$(MAKE) -C linux $@
|
|
|
|
.PHONY: all doc
|
|
else
|
|
$(error SnapRAID is not configured. Run './configure')
|
|
endif
|