1 # SPDX-FileCopyrightText: 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 # SPDX-License-Identifier: MIT
5 # This makefile is purposefully kept simple to support GNU and BSD make.
7 LOCAL_CFLAGS := -g -O2 -Wall
13 @verbose="$(AM_V_P)"; if [ "x$$verbose" = "x" ]; then verbose=":"; fi; \
14 if $$verbose; then set -x; else echo " CCLD $@"; fi; \
15 $(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
16 -o $@ $(OBJECTS) $(LIBS)
18 $(OBJECTS): $(SOURCES) $(DEPS)
19 @verbose="$(AM_V_P)"; if [ "x$$verbose" = "x" ]; then verbose=":"; fi; \
20 if $$verbose; then set -x; else echo " CC $@"; fi; \
21 $(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) \