1 INSTALL
= /usr
/bin
/install -m
755
5 CFLAGS
= -O3
-Wall
`gtk-config --cflags` -DVERSION
=$(VERSION
) ${EXTRA}
7 OBJS
= cnslock.o kleds.o applet.o
9 LIBS
= `gtk-config --libs | sed "s/-lgtk//g"`
13 cnslock.o
: cnslock.c
include/cnslock.h
include/defines.h
14 $(CC
) $(CFLAGS
) -c cnslock.c
-o cnslock.o
16 applet.o
: applet.c
include/applet.h
include/defines.h
17 gcc
$(CFLAGS
) -c applet.c
-o applet.o
19 kleds.o
: kleds.c
include/kleds.h
include/defines.h
20 $(CC
) -Wall
-I
/usr
/X11R6
/include -c kleds.c
-o kleds.o
23 $(CC
) -o cnslock
$(OBJS
) $(LIBS
)
26 rm -rf cnslock
*.o
*~ .xvpics
29 $(INSTALL
) cnslock
$(PREFIX
)/bin