hexagram/examples/Makefile
2019-02-12 00:00:13 -06:00

20 lines
296 B
Makefile

include ../mk/build.mk
CC = $(CROSS)cc
INCLUDE_PATH = ../include
CFLAGS += -I$(INCLUDE_PATH)
LDFLAGS = -L../src -lhexagram
EXAMPLES = convert pcapread replay
RM = /bin/rm
all: $(EXAMPLES)
$(EXAMPLES): %: %.c
$(CC) $(CFLAGS) $< -o $@ ../src/libhexagram.a
clean:
$(RM) -f $(EXAMPLES)