Sort the targets and sources
This commit is contained in:
parent
528b110865
commit
54d7b0a3c5
|
@ -5,22 +5,16 @@ cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||||
dist=Makefile,embedded.sh,fixme.sh,pkgconfig.sh,tests.sh
|
dist=Makefile,embedded.sh,fixme.sh,pkgconfig.sh,tests.sh
|
||||||
|
|
||||||
|
#targets
|
||||||
[date]
|
[date]
|
||||||
type=binary
|
type=binary
|
||||||
sources=date.c
|
sources=date.c
|
||||||
|
|
||||||
[date.c]
|
|
||||||
depends=../src/helper.c
|
|
||||||
|
|
||||||
[email]
|
[email]
|
||||||
type=binary
|
type=binary
|
||||||
sources=email.c
|
sources=email.c
|
||||||
ldflags=-L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lMailer
|
ldflags=-L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lMailer
|
||||||
|
|
||||||
[email.c]
|
|
||||||
#XXX should use $(SOEXT)
|
|
||||||
depends=$(OBJDIR)../src/libMailer.a
|
|
||||||
|
|
||||||
[fixme.log]
|
[fixme.log]
|
||||||
type=script
|
type=script
|
||||||
script=./fixme.sh
|
script=./fixme.sh
|
||||||
|
@ -32,9 +26,6 @@ sources=imap4.c
|
||||||
cflags=`pkg-config --cflags glib-2.0 libSystem` `pkg-config --cflags openssl`
|
cflags=`pkg-config --cflags glib-2.0 libSystem` `pkg-config --cflags openssl`
|
||||||
ldflags=`pkg-config --libs glib-2.0 libSystem` `pkg-config --libs openssl`
|
ldflags=`pkg-config --libs glib-2.0 libSystem` `pkg-config --libs openssl`
|
||||||
|
|
||||||
[imap4.c]
|
|
||||||
depends=../src/account/imap4.c
|
|
||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
type=binary
|
type=binary
|
||||||
#for Gtk+ 2
|
#for Gtk+ 2
|
||||||
|
@ -49,3 +40,14 @@ sources=plugins.c
|
||||||
type=script
|
type=script
|
||||||
script=./tests.sh
|
script=./tests.sh
|
||||||
depends=$(OBJDIR)date,$(OBJDIR)email,$(OBJDIR)imap4,pkgconfig.sh,$(OBJDIR)plugins,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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user