Commit c97ae014 authored by Mathieu Maret's avatar Mathieu Maret

make:Add some env check

parent ebc4b66f
Pipeline #24 failed with stages
......@@ -2,13 +2,24 @@
# -MMD is used to generate .d files for user header dependencies (use -MD for system and user header instead)
# main compilation
CFLAGS ?= -Werror -Wall #$(shell pkg-config --cflags sdl)
CFLAGS ?= -Werror -Wall -Wextra $(shell pkg-config --cflags sdl)
# C++ flags
#Linker flags
#Linker path
LDLIBS = #$(shell pkg-config --libs sdl)
LDLIBS = $(shell pkg-config --libs sdl)
# Force shell to an known one
SHELL := bash
.SHELLFLAGS := -eu -o -pipefail -c
# each recipe in ran as one single shell session (Rather than one new shell per line)
# delete target on error
MAKEFLAGS += --warn-undefined-variables
ifneq ($(CROSS_COMPILE),)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment