From bae25e4dac2ec43bea890d996055a51fb7ded3b3 Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Tue, 5 Nov 2019 10:51:17 +0100 Subject: [HICN-380] add libhicnctrl example (create face) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I230d4cc51710fa4ce7ce24c97cd72b1fc7d1f573 Signed-off-by: Jordan Augé --- ctrl/libhicnctrl/examples/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ctrl/libhicnctrl/examples/Makefile (limited to 'ctrl/libhicnctrl/examples/Makefile') diff --git a/ctrl/libhicnctrl/examples/Makefile b/ctrl/libhicnctrl/examples/Makefile new file mode 100644 index 000000000..a6c6f0570 --- /dev/null +++ b/ctrl/libhicnctrl/examples/Makefile @@ -0,0 +1,20 @@ +EXEC = $(shell basename $$(pwd)) +CC = gcc + +CFLAGS = -std=gnu11 -O3 -Wall -Wextra -Wpedantic -Wstrict-aliasing -DWITH_POLICY=1 +LDFLAGS = -lhicn -lhicnctrl + +SRC = $(wildcard *.c) +EXEC = $(SRC:.c=) + +all: $(EXEC) + +${EXEC}: $(SRC) + $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) + +.PHONY: clean mrproper + +clean: + @rm -rf $(EXEC) + +mrproper: clean -- cgit 1.2.3-korg