aboutgitcodelistschat:MatrixIRC
path: root/seitan-eater/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'seitan-eater/Makefile')
-rw-r--r--seitan-eater/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/seitan-eater/Makefile b/seitan-eater/Makefile
new file mode 100644
index 0000000..c70433f
--- /dev/null
+++ b/seitan-eater/Makefile
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# seitan - Syscall Expressive Interpreter, Transformer and Notifier
+#
+# eater/Makefile - Makefile for seitan-eater
+#
+# Copyright 2023 Red Hat GmbH
+# Author: Alice Frosi <afrosi@redhat.com>
+
+COMMON_DIR :=../common
+SRCS := $(COMMON_DIR)/common.c eater.c
+HEADERS := $(COMMON_DIR)/common.h
+BIN := $(OUTDIR)eater
+CFLAGS += -Wall -Wextra -pedantic -I$(COMMON_DIR)
+
+eater: $(SRCS) $(HEADERS)
+ $(CC) $(CFLAGS) -o $(BIN) $(SRCS)
+
+all: eater
+
+clean:
+ rm -f $(BIN)