blob: 91a8024a5c617bab10917731aaff0351417aaacb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#
# Makefile for building AlphaGen
#
# Component settings
COMPONENT := alphagen
COMPONENT_TYPE := binary
COMPONENT_VERSION := 1.0.0
# Setup the tooling
include build/makefiles/Makefile.tools
# Toolchain flags
WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs -pedantic
# libpng and libz
ifneq ($(findstring clean,$(MAKECMDGOALS)),clean)
CFLAGS := $(CFLAGS) -I$(PREFIX)/include
LDFLAGS := $(LDFLAGS) -lpng -lz
endif
# Grab the core makefile
include build/makefiles/Makefile.top
# Extra installation rules
|