hexagram/examples/Makefile

21 lines
304 B
Makefile
Raw Normal View History

2018-12-16 11:37:04 -06:00
include ../mk/build.mk
CC = $(CROSS)cc
INCLUDE_PATH = ../include
CFLAGS += -I$(INCLUDE_PATH)
LDFLAGS = -L../src -lhexagram
2019-02-12 20:55:40 -06:00
EXAMPLES = capture convert pcapread replay
2018-12-16 11:37:04 -06:00
RM = /bin/rm
all: $(EXAMPLES)
$(EXAMPLES): %: %.c
$(CC) $(CFLAGS) $< -o $@ ../src/libhexagram.a
2018-12-16 11:37:04 -06:00
clean:
$(RM) -f $(EXAMPLES)