From 8e3df79803e42e12148bfc6d5df675859ba3e122 Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Fri, 24 Mar 2023 17:05:07 +0100 Subject: Move util.h and util.c in common --- seitan-cooker/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'seitan-cooker/Makefile') 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 -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 -- cgit v1.2.3