wmshutdown: Bump to version 1.6
[dockapps.git] / wmhexaclock / Makefile
blob5fecfa37543f5e564d9343f27240190a63791604
1 # wmHexaClock Makefile by Bjoern Witt <ng@bjoernw.de>
3 # Copyright (C) 2006 Bjoern Witt
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program (see the file COPYING); if not, write to the
17 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 # Boston, MA 02111-1307, USA
20 # As a base for this program I used wmDockApp0.1 from Todd Goyen.
21 # Thanks a lot!
24 CC = gcc
25 CFLAGS = -O2 -Wall -g
26 BIN = wmHexaClock
27 SRC = ./src/main.c ./src/wmgeneral.c
28 INSPATH = /usr/local/bin/
29 SOURCEPATH = ./
30 X_LIBS = -L/usr/X11R6/lib
31 wmHexaClock_LDADD = -lX11 -lXpm -lXext
33 all : $(MAINSRC)
34 $(CC) $(CFLAGS) -o $(BIN) $(SRC) $(X_LIBS) $(wmHexaClock_LDADD)
35 strip $(SOURCEPATH)$(BIN)
37 install :
38 install -c -s -m 755 $(BIN) $(INSPATH)
40 clean :
41 rm -f $(SOURCEPATH)$(BIN)
43 uninstall :
44 rm -f $(INSPATH)wmHexaClock