mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-27 06:16:48 +02:00
15 lines
226 B
Makefile
15 lines
226 B
Makefile
|
CFLAGS?=-O2
|
||
|
CFLAGS+=
|
||
|
SFLAGS:=--std=gnu99
|
||
|
WFLAGS:=-Wall -Werror -pedantic
|
||
|
LDFLAGS?=
|
||
|
BINARY:=px5g
|
||
|
|
||
|
all: $(BINARY)
|
||
|
|
||
|
$(BINARY): *.c library/*.c
|
||
|
$(CC) -I. $(CFLAGS) $(SFLAGS) $(WFLAGS) $(LDFLAGS) -o $@ $+
|
||
|
|
||
|
clean:
|
||
|
rm -f $(BINARY)
|