1999-04-19 13:37:25 +00:00
|
|
|
--- Makefile.orig Thu Apr 1 17:38:14 1999
|
|
|
|
+++ Makefile Thu Apr 1 17:41:17 1999
|
|
|
|
@@ -1,7 +1,10 @@
|
|
|
|
-#LANG = fr
|
1999-03-16 09:46:15 +00:00
|
|
|
+CC ?= gcc
|
|
|
|
+CFLAGS ?= -O2
|
|
|
|
+CFLAGS += -Wall
|
|
|
|
+INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
|
|
|
|
+DESTDIR = /usr/X11R6
|
|
|
|
LIBDIR = -L/usr/X11R6/lib
|
|
|
|
LIBS = -lXpm -lXext -lX11 -lm
|
|
|
|
-FLAGS = -O2
|
|
|
|
OBJS = wmitime.o \
|
|
|
|
../wmgeneral/wmgeneral.o \
|
|
|
|
../wmgeneral/misc.o \
|
1999-04-19 13:37:25 +00:00
|
|
|
@@ -9,10 +12,10 @@
|
1999-03-16 09:46:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
.c.o:
|
1999-04-19 13:37:25 +00:00
|
|
|
- cc -I/usr/X11R6/share/include $(FLAGS) -D$(LANG) -c -Wall $< -o $*.o
|
1999-03-16 09:46:15 +00:00
|
|
|
+ $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
|
|
|
|
|
|
|
|
wmtime: $(OBJS)
|
1999-04-19 13:37:25 +00:00
|
|
|
- cc $(FLAGS) -D$(LANG) -o wmitime $^ -lXext $(LIBDIR) $(LIBS)
|
|
|
|
+ $(CC) $(CFLAGS) $(SYSTEM) -o wmitime $^ $(INCDIR) $(LIBDIR) $(LIBS)
|
1999-03-16 09:46:15 +00:00
|
|
|
|
|
|
|
all:: wmtime
|
|
|
|
|
1999-04-19 13:37:25 +00:00
|
|
|
@@ -24,24 +27,5 @@
|
1999-03-16 09:46:15 +00:00
|
|
|
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
|
|
|
|
+ install -s -m 0755 wmitime $(DESTDIR)/bin
|
|
|
|
@echo "wmitime Installation finished..."
|
1999-04-19 13:37:25 +00:00
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|