patty/examples/Makefile
XANTRONIX Development 4c2f92af22 Move examples/ax25dump.c to bin/
Changes:

    * Move examples/ax25dump.c to bin/ax25dump.c; deprecate the other
      similar program, examples/decode.c

    * Implement support for reading KISS frames from a file, much in
      the manner of examples/decode.c
2024-03-01 00:20:47 -05:00

18 lines
272 B
Makefile

include ../mk/build.mk
CC = $(CROSS)cc
INCLUDE_PATH = ../include
CFLAGS += -I$(INCLUDE_PATH)
LDFLAGS = -L../src -lpatty -lutil
EXAMPLES = connect listen login
all: $(EXAMPLES)
$(EXAMPLES): %: %.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
clean:
$(RM) -f $(EXAMPLES)