13129864e6
xdesktopwaves is a cellular automata setting the background of your X Window desktop under water. Windows and mouse are like ships on the sea. Each movement of these ends up in moving water waves. You can even have rain and/or storm stirring up the water. from Giovanni Bechis <g.bechis at snb dot it>
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
$OpenBSD: patch-Makefile,v 1.1.1.1 2008/04/01 07:47:39 ajacoutot Exp $
|
|
--- Makefile.orig Sat Dec 18 06:47:40 2004
|
|
+++ Makefile Tue Apr 1 09:42:17 2008
|
|
@@ -11,19 +11,18 @@ XDW_MAX_OPTIMIZATION=2
|
|
|
|
#=========================== C compiler configuration ==========================
|
|
|
|
-CC = gcc
|
|
-CFLAGS = -I/usr/X11R6/include -O2
|
|
+CFLAGS += -I${X11BASE}/include
|
|
|
|
#============================= Linker configuration ============================
|
|
|
|
-LINK = gcc
|
|
-LFLAGS = -L/usr/X11R6/lib
|
|
-LIBS = -lm -lX11 -lXext
|
|
+LINK = ${CC}
|
|
+LFLAGS += -L${X11BASE}/lib
|
|
+LIBS += -lm -lX11 -lXext
|
|
|
|
#============================ Installer configuration ==========================
|
|
|
|
-BINDIR = /usr/X11R6/bin
|
|
-MAN1DIR = /usr/X11R6/man/man1
|
|
+BINDIR = ${PREFIX}/bin
|
|
+MAN1DIR = ${PREFIX}/man/man1
|
|
INSTALL = install
|
|
RM = rm -f -v
|
|
|
|
@@ -32,7 +31,7 @@ RM = rm -f -v
|
|
all: xdesktopwaves
|
|
|
|
xdesktopwaves.o: xdesktopwaves.c
|
|
- $(CC) $(CFLAGS) -DXDW_MAX_OPTIMIZATION=$(XDW_MAX_OPTIMIZATION) -c xdesktopwaves.c -o xdesktopwaves.o
|
|
+ $(CC) $(CFLAGS) -c xdesktopwaves.c -o xdesktopwaves.o
|
|
|
|
xdesktopwaves: xdesktopwaves.o
|
|
$(LINK) $(LFLAGS) xdesktopwaves.o $(LIBS) -o xdesktopwaves
|