From c0f2ea4176b967ba902bb5e0e5c4ee3f28530beb Mon Sep 17 00:00:00 2001 From: Tim Segers Date: Fri, 23 Dec 2022 18:44:58 +0100 Subject: Extract CLI handling into separate file --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6702a26..24d7627 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ CFLAGS = --std=c99 -pedantic -Wall -Werror -Os -DVERSION=${VERSION} all: opendeco opendeco_test libopendeco.a -opendeco: src/opendeco.c src/deco.c src/deco.h src/schedule.c src/schedule.h src/output.c src/output.h - $(CC) $(CFLAGS) src/opendeco.c src/deco.c src/schedule.c src/output.c -lm -o opendeco +opendeco: src/opendeco.c src/deco.c src/deco.h src/schedule.c src/schedule.h src/output.c src/output.h src/opendeco-cli.h src/opendeco-cli.c src/opendeco-conf.h + $(CC) $(CFLAGS) src/opendeco.c src/deco.c src/schedule.c src/output.c src/opendeco-cli.c -lm -o opendeco opendeco_test: test/opendeco_test.c test/deco_test.c src/deco.c $(CC) $(CFLAGS) test/minunit.c test/opendeco_test.c test/deco_test.c src/deco.c -lm -o opendeco_test -- cgit v1.2.3-70-g09d2