aboutgitcodelistschat:MatrixIRC
path: root/seitan-cooker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'seitan-cooker/Makefile')
-rw-r--r--seitan-cooker/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/seitan-cooker/Makefile b/seitan-cooker/Makefile
index 8741879..241ad4b 100644
--- a/seitan-cooker/Makefile
+++ b/seitan-cooker/Makefile
@@ -7,12 +7,13 @@
# Copyright 2023 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>
-SRCS := calls.c emit.c gluten.c main.c parse.c parson.c util.c calls/net.c
-HEADERS := calls.h cooker.h emit.h gluten.h parse.h parson.h util.h calls/net.h
+COMMON_DIR := ../common
+SRCS := calls.c emit.c gluten.c main.c parse.c parson.c $(COMMON_DIR)/util.c calls/net.c
+HEADERS := calls.h cooker.h emit.h gluten.h parse.h parson.h calls/net.h $(COMMON_DIR)/util.h
BIN := $(OUTDIR)cooker
cooker: $(SRCS) $(HEADERS)
- $(CC) -O0 -g -Wall -Wextra -pedantic -std=c99 -o $(BIN) $(SRCS)
+ $(CC) -O0 -g -Wall -Wextra -pedantic -std=c99 -I$(COMMON_DIR) -o $(BIN) $(SRCS)
all: cooker