Skip to content

Commit

Permalink
Merge pull request keenerd#2 from nunojpg/master
Browse files Browse the repository at this point in the history
Clean source and add Makefile
  • Loading branch information
dgiardini committed Jul 13, 2015
2 parents 43c8e9c + 2948205 commit 877af1d
Show file tree
Hide file tree
Showing 30 changed files with 26 additions and 1,672 deletions.
26 changes: 26 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
CFLAGS?=-O2 -g -Wall -W $(shell pkg-config --cflags librtlsdr)
CFLAGS+= -I./aisdecoder -I ./aisdecoder/lib
LDFLAGS+=$(shell pkg-config --libs librtlsdr) -lpthread -lm
CC?=gcc
SOURCES= \
rtl_ais.c convenience.c \
./aisdecoder/aisdecoder.c \
./aisdecoder/sounddecoder.c \
./aisdecoder/lib/receiver.c \
./aisdecoder/lib/protodec.c \
./aisdecoder/lib/hmalloc.c \
./aisdecoder/lib/filter.c

OBJECTS=$(SOURCES:.c=.o)
EXECUTABLE=rtl_ais

all: $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
$(CC) $(OBJECTS) -o $@ $(LDFLAGS)

.c.o:
$(CC) -c $< -o $@ $(CFLAGS)

clean:
rm -f $(OBJECTS) $(EXECUTABLE)
28 changes: 0 additions & 28 deletions ais/build.sh

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed heatmap/Vera.ttf
Binary file not shown.
52 changes: 0 additions & 52 deletions heatmap/flatten.py

This file was deleted.

Loading

0 comments on commit 877af1d

Please sign in to comment.