Flag parsing, resolution, connection, polling loop.

This commit is contained in:
Ian Gulliver
2016-02-14 02:12:35 +00:00
parent 8c3ccedd81
commit 6669ce721c
2 changed files with 208 additions and 0 deletions

14
Makefile Normal file
View File

@@ -0,0 +1,14 @@
CC ?= clang
CFLAGS ?= -Wall -Werror -O4 -g --std=gnu11 --pedantic-errors
LDFLAGS ?= -Wall -O4
all: adsbus
clean:
rm -f *.o adsbus
%.o: %.c *.h
$(CC) -c $(CFLAGS) $< -o $@
adsbus: adsbus.o
$(CC) $(LDFLAGS) -o adsbus adsbus.o