aboutgitcodelistschat:MatrixIRC
path: root/eater/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'eater/Makefile')
-rw-r--r--eater/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/eater/Makefile b/eater/Makefile
new file mode 100644
index 0000000..2e3db3f
--- /dev/null
+++ b/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)seitan-eater
+CFLAGS += -Wall -Wextra -pedantic -I$(COMMON_DIR)
+
+eater: $(SRCS) $(HEADERS)
+ $(CC) $(CFLAGS) -o $(BIN) $(SRCS)
+
+all: eater
+
+clean:
+ rm -f $(BIN)