From 54d7b0a3c5dccd70417ce744f45c8b849c7f0289 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 12 Jan 2020 09:40:55 +0100 Subject: [PATCH] Sort the targets and sources --- tests/project.conf | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/tests/project.conf b/tests/project.conf index 515d311..a99d9a2 100644 --- a/tests/project.conf +++ b/tests/project.conf @@ -5,22 +5,16 @@ cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector ldflags=-pie -Wl,-z,relro -Wl,-z,now dist=Makefile,embedded.sh,fixme.sh,pkgconfig.sh,tests.sh +#targets [date] type=binary sources=date.c -[date.c] -depends=../src/helper.c - [email] type=binary sources=email.c ldflags=-L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lMailer -[email.c] -#XXX should use $(SOEXT) -depends=$(OBJDIR)../src/libMailer.a - [fixme.log] type=script script=./fixme.sh @@ -32,9 +26,6 @@ sources=imap4.c cflags=`pkg-config --cflags glib-2.0 libSystem` `pkg-config --cflags openssl` ldflags=`pkg-config --libs glib-2.0 libSystem` `pkg-config --libs openssl` -[imap4.c] -depends=../src/account/imap4.c - [plugins] type=binary #for Gtk+ 2 @@ -49,3 +40,14 @@ sources=plugins.c type=script script=./tests.sh depends=$(OBJDIR)date,$(OBJDIR)email,$(OBJDIR)imap4,pkgconfig.sh,$(OBJDIR)plugins,tests.sh + +#sources +[date.c] +depends=../src/helper.c + +[email.c] +#XXX should use $(SOEXT) +depends=$(OBJDIR)../src/libMailer.a + +[imap4.c] +depends=../src/account/imap4.c