Move adsbus into its own dir.
This commit is contained in:
15
adsbus/Makefile
Normal file
15
adsbus/Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
CC ?= clang
|
||||
CFLAGS ?= -Wall -Werror -O4 -g --std=gnu11 --pedantic-errors -fPIE -pie -fstack-protector-strong
|
||||
LDFLAGS ?= $(CFLAGS) -Wl,-z,relro -Wl,-z,now
|
||||
LIBS ?= -luuid -ljansson
|
||||
|
||||
all: adsbus
|
||||
|
||||
clean:
|
||||
rm -f *.o adsbus
|
||||
|
||||
%.o: %.c *.h
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
adsbus: adsbus.o receive.o send.o incoming.o outgoing.o airspy_adsb.o beast.o json.o raw.o stats.o wakeup.o common.o
|
||||
$(CC) $(LDFLAGS) -o adsbus adsbus.o receive.o send.o incoming.o outgoing.o airspy_adsb.o beast.o json.o raw.o stats.o wakeup.o common.o $(LIBS)
|
||||
Reference in New Issue
Block a user