29 lines
659 B
Plaintext
29 lines
659 B
Plaintext
targets=applets,applets2,tests.log,user
|
|
cppflags_force=-I ../include
|
|
cflags_force=`pkg-config --cflags libDesktop`
|
|
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
|
ldflags_force=`pkg-config --libs libDesktop`
|
|
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
|
dist=Makefile,tests.sh
|
|
|
|
[applets]
|
|
type=binary
|
|
sources=applets.c
|
|
|
|
[applets2]
|
|
type=binary
|
|
ldflags=-L../src -L$(OBJDIR). -Wl,-rpath,$(PREFIX)/lib -lPanel
|
|
sources=applets2.c
|
|
|
|
[tests.log]
|
|
type=script
|
|
script=./tests.sh
|
|
depends=$(OBJDIR)applets$(EXEEXT),$(OBJDIR)applets2$(EXEEXT),tests.sh,$(OBJDIR)user$(EXEEXT)
|
|
|
|
[user]
|
|
type=binary
|
|
sources=user.c
|
|
|
|
[user.c]
|
|
depends=../src/applets/user.c
|