aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2022-12-23 18:44:58 +0100
committerGravatar Tim Segers <tsegers@pm.me>2022-12-23 18:44:58 +0100
commitc0f2ea4176b967ba902bb5e0e5c4ee3f28530beb (patch)
tree85ad3c174ab645f4e43a7ac91b6df9f98af7ebc3 /Makefile
parent14009b2ee28f763d343f1905a2da2092f8b61f0b (diff)
downloadopendeco-c0f2ea4176b967ba902bb5e0e5c4ee3f28530beb.tar.gz
Extract CLI handling into separate file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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