blob: 744795327756d084c4c79b1260fb7f4ebd5e6297 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
CFLAGS?=-O2
CFLAGS+=
SFLAGS:=--std=gnu99
WFLAGS:=-Wall -Werror
LDFLAGS?=
BINARY:=px5g
all: $(BINARY)
$(BINARY): *.c library/*.c
$(CC) -I. $(CFLAGS) $(SFLAGS) $(WFLAGS) $(LDFLAGS) -o $@ $+
clean:
rm -f $(BINARY)
|