blob: 9327aa893afcfc620d961271cc261518d78ab020 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- Makefile.orig Sat Sep 29 12:35:39 2001
+++ Makefile Sat Sep 29 12:37:20 2001
@@ -1,19 +1,19 @@
-LIBDIR = -L/usr/X11R6/lib -L/usr/lib
-LIBS = -lXpm -lXext -lX11 -lm `gtk-config --libs` -lpthread
+LIBDIR = -L${X11BASE}/lib -L${LOCALBASE}/lib
+LIBS = -lXpm -lXext -lX11 -lm `${GTK_CONFIG} --libs` ${PTHREAD_LIBS}
-CFLAGS = -g -I/usr/X11R6/include `gtk-config --cflags`
+CFLAGS += -I${X11BASE}/include `${GTK_CONFIG} --cflags` ${PTHREAD_CFLAGS}
OBJS = wmtimer.o \
../wmgeneral/wmgeneral.o \
../wmgeneral/misc.o \
../wmgeneral/list.o
.c.o:
- $(CC) -c -O2 -Wall $< -o $*.o $(CFLAGS)
+ $(CC) -c $< -o $*.o $(CFLAGS)
all: wmtimer
wmtimer: $(OBJS)
- $(CC) -Wall -g -o wmtimer $^ $(LIBDIR) $(LIBS)
+ $(CC) -o wmtimer $^ $(LIBDIR) $(LIBS)
clean::
for i in $(OBJS) ; do \
|