wmspaceweather: Remove precompiled binary and object file from git.
[dockapps.git] / cnslock / Makefile
blob96bc22b23fa9950b16d0d39c5589e5242698a8e0
1 INSTALL = /usr/bin/install -m 755
2 PREFIX = /usr/local
4 VERSION = 1.02
5 CFLAGS = -O3 -Wall `gtk-config --cflags` -DVERSION=$(VERSION) ${EXTRA}
6 CC = gcc
7 OBJS = cnslock.o kleds.o applet.o
9 LIBS = `gtk-config --libs | sed "s/-lgtk//g"`
11 all: cnslock
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
22 cnslock: $(OBJS)
23 $(CC) -o cnslock $(OBJS) $(LIBS)
25 clean:
26 rm -rf cnslock *.o *~ .xvpics
28 install : cnslock
29 $(INSTALL) cnslock $(PREFIX)/bin