From 72640eecc20e9babed3661335e2ea71dd10ee618 Mon Sep 17 00:00:00 2001 From: Tim Segers Date: Fri, 23 Dec 2022 20:01:46 +0100 Subject: Add support for toml-based config file --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 24d7627..34d11b5 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ PREFIX = /usr/local VERSION = \"$(shell git describe --tags --dirty)\" -CFLAGS = --std=c99 -pedantic -Wall -Werror -Os -DVERSION=${VERSION} +CFLAGS = --std=c99 -pedantic -Wall -Werror -Os -D_DEFAULT_SOURCE -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 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: 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 src/opendeco-conf.c toml/toml.c toml/toml.h + $(CC) $(CFLAGS) src/opendeco.c src/deco.c src/schedule.c src/output.c src/opendeco-cli.c src/opendeco-conf.c toml/toml.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