daemon designed to read short data bursts from weather stations transmitting over the Iridium satellite network
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
281 B
22 lines
281 B
RM=rm -f
|
|
CFLAGS=
|
|
LDFLAGS=
|
|
LIBS=
|
|
TARGET=wstationd
|
|
SRC= \
|
|
src/imei.c \
|
|
src/wstationd.c
|
|
OBJ=$(SRC:.c=.o)
|
|
|
|
.PHONY: clean all
|
|
|
|
.c.o:
|
|
$(CC) -Wall -std=c99 $(CFLAGS) -c $< -o $@
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(OBJ)
|
|
$(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o $@
|
|
|
|
clean:
|
|
$(RM) $(OBJ) $(TARGET)
|