openwrtv4/package/px5g/src/Makefile
Jo-Philipp Wich 2cf4946597 add px5g (moved from LuCI trunk)
SVN-Revision: 20429
2010-03-25 15:46:39 +00:00

14 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)