dockapps/wmitime/wmitime/Makefile
Carlos R. Mafra 21625f40b5 Initial dockapps git repo
I tried to get the latest versions from dockapps.org, but I haven't
tested any of them.

More dockapps will be added as time permits.
2011-03-25 19:45:13 +01:00

47 lines
722 B
Makefile

#LANG = fr
LIBDIR = -L/usr/X11R6/lib
LIBS = -lXpm -lXext -lX11 -lm
FLAGS = -O2
OBJS = wmitime.o \
../wmgeneral/wmgeneral.o \
../wmgeneral/misc.o \
../wmgeneral/list.o
.c.o:
cc -I/usr/X11R6/share/include $(FLAGS) -D$(LANG) -c -Wall $< -o $*.o
wmtime: $(OBJS)
cc $(FLAGS) -D$(LANG) -o wmitime $^ -lXext $(LIBDIR) $(LIBS)
all:: wmtime
clean::
for i in $(OBJS) ; do \
rm -f $$i ; \
done
rm -f wmitime
rm -f *~
install:: wmitime
cp -f wmitime /usr/local/bin/
chmod 755 /usr/local/bin/wmitime
chown root:root /usr/local/bin/wmitime
# cp wminetrc $(HOME)/.wminetrc
# chmod 600 $(HOME)/.wminetrc
# cp wminetrc /etc/wminetrc
# chmod 644 /etc/wminetrc
@echo "wmitime Installation finished..."