Code cleanup

This commit is contained in:
Pierre Pronchery 2020-02-03 06:15:23 +01:00
parent 1e5d5d3d75
commit a0de1ab697
2 changed files with 4 additions and 0 deletions

View File

@ -5,11 +5,13 @@ ldflags_force=`pkg-config --libs libDesktop`
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,calendar.h,event.h,window.h
#targets
[calendar]
type=binary
sources=calendar.c,event.c,window.c,main.c
install=$(BINDIR)
#sources
[calendar.c]
depends=calendar.h,event.h,../config.h
cflags=-fPIC

View File

@ -5,10 +5,12 @@ ldflags_force=`pkg-config --libs libDesktop`
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile
#targets
[calendar]
type=plugin
sources=calendar.c
install=$(LIBDIR)/Mailer/plugins
#sources
[calendar.c]
depends=../src/calendar.h,../src/calendar.c,../src/event.c