1 LIBS
= -lXpm
-lXext
-lX11
-lm
-ldockapp
7 MANDIR
= $(PREFIX
)/share
/man
/man1
8 DESKTOPDIR
= $(PREFIX
)/share
/applications
11 $(CC
) $(CPPFLAGS
) $(CFLAGS
) -c
$< -o
$*.o
14 $(CC
) $(LDFLAGS
) -o wmitime
$^
$(LIBS
)
19 for i in
$(OBJS
) ; do \
22 rm -f wmitime wmitime.desktop
26 sed
"s|@BINDIR@|$(BINDIR)|" wmitime.desktop.in
> $@
28 install:: wmitime wmitime.desktop
29 $(INSTALL
) -d
$(DESTDIR
)$(BINDIR
)
30 $(INSTALL
) wmitime
$(DESTDIR
)$(BINDIR
)
31 $(INSTALL
) -d
$(DESTDIR
)$(MANDIR
)
32 $(INSTALL
) -m
644 wmitime
.1 $(DESTDIR
)$(MANDIR
)
33 $(INSTALL
) -d
$(DESTDIR
)$(DESKTOPDIR
)
34 $(INSTALL
) -m
644 wmitime.desktop
$(DESTDIR
)$(DESKTOPDIR
)
35 @echo
"wmitime Installation finished..."