summaryrefslogtreecommitdiff
path: root/package/utils/px5g/src/Makefile
blob: 2bd95739cb92076e0a8c1da89648c3246035da6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)