1
CFLAGS=-Wall -g -std=gnu99
3
PROGS=plugbasedclient plugins.d/mandosclient plugins.d/passprompt
5
objects=$(shell for p in $(PROGS); do echo $${p}.o; done)
9
plugbasedclient: plugbasedclient.o
10
$(LINK.o) -lgnutls $(COMMON) $^ $(LOADLIBES) $(LDLIBS) -o $@
12
plugins.d/mandosclient: plugins.d/mandosclient.o
13
$(LINK.o) -lgnutls -lavahi-core -lgpgme $(COMMON) $^ $(LOADLIBES) $(LDLIBS) -o $@
15
plugins.d/passprompt: plugins.d/passprompt.o
16
$(LINK.o) $(COMMON) $^ $(LOADLIBES) $(LDLIBS) -o $@
20
-rm -f $(PROGS) $(objects) core