1 # Copyright (C) 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 # THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
4 # OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
6 # Permission is hereby granted to use or copy this program for any
7 # purpose, provided the above notices are retained on all copies.
8 # Permission to modify the code and to distribute modified code is
9 # granted, provided the above notices are retained, and a notice that
10 # the code was modified is included with the above copyright notice.
12 # This makefile is purposefully kept simple to support GNU and BSD make.
14 LOCAL_CFLAGS := -g -O2 -Wall
20 @if $(AM_V_P); then set -x; else echo " CCLD $@"; fi; \
21 $(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
22 -o $@ $(OBJECTS) $(LIBS)
24 $(OBJECTS): $(SOURCES) $(DEPS)
25 @if $(AM_V_P); then set -x; else echo " CC $@"; fi; \
26 $(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) \