lantiq: Tune the XWAY subtarget cflags
[openwrt.git] / package / px5g / src / Makefile
1 CFLAGS?=-O2
2 CFLAGS+=
3 SFLAGS:=--std=gnu99
4 WFLAGS:=-Wall -Werror -pedantic
5 LDFLAGS?=
6 BINARY:=px5g
7
8 all: $(BINARY)
9
10 $(BINARY): *.c library/*.c
11         $(CC) -I. $(CFLAGS) $(SFLAGS) $(WFLAGS) $(LDFLAGS) -o $@ $+
12
13 clean:
14         rm -f $(BINARY)