diff --git a/src/project.conf b/src/project.conf index 228d502..beb16d5 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,16 +1,18 @@ targets=notes #cppflags=-D EMBEDDED cflags_force=`pkg-config --cflags libDesktop` -cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all +cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector ldflags_force=`pkg-config --libs libDesktop` -lintl ldflags=-pie -Wl,-z,relro -Wl,-z,now dist=Makefile,note.h,noteedit.h,notes.h,window.h +#targets [notes] type=binary sources=note.c,noteedit.c,notes.c,window.c,main.c install=$(BINDIR) +#sources [main.c] depends=note.h,notes.h,../config.h diff --git a/tools/project.conf b/tools/project.conf index d3e304f..a4c8a83 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -1,13 +1,16 @@ targets=notes cflags_force=`pkg-config --cflags libDesktop Mailer` -fPIC -cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all +cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector ldflags_force=`pkg-config --libs libDesktop` +ldflags=-Wl,-z,relro -Wl,-z,now dist=Makefile +#targets [notes] type=plugin sources=notes.c install=$(LIBDIR)/Mailer/plugins +#sources [notes.c] depends=../src/note.c,../src/noteedit.c,../src/notes.c