/[gentoo-x86]/x11-wm/musca/files/musca-0.9.24-make.patch
Gentoo

Contents of /x11-wm/musca/files/musca-0.9.24-make.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download) (as text)
Sat Jan 22 17:48:26 2011 UTC (9 years, 1 month ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
File MIME type: text/x-diff
Clean up patches.

(Portage version: 2.2.0_alpha19/cvs/Linux i686)

1 --- a/Makefile 2009-11-03 03:20:21.000000000 +0100
2 +++ b/Makefile 2009-12-27 19:12:02.461539607 +0100
3 @@ -1,9 +1,12 @@
4 -CFLAGS?=-Wall -g
5 +CFLAGS ?= -Wall -g
6 +INCLUDES = $(shell pkg-config --cflags x11)
7 +LIBS = $(shell pkg-config --libs x11) -lm
8 +BIN_DIST = musca apis xlisten
9
10 -all:
11 - $(CC) $(CFLAGS) -I/usr/X11R6/include -L/usr/X11R6/lib -lc -lm -lX11 -o musca musca.c
12 - $(CC) $(CFLAGS) -I/usr/X11R6/include -L/usr/X11R6/lib -lc -lm -lX11 -o apis apis.c
13 - $(CC) $(CFLAGS) -I/usr/X11R6/include -L/usr/X11R6/lib -lc -lm -lX11 -o xlisten xlisten.c
14 +all: $(BIN_DIST)
15 +
16 +$(BIN_DIST):
17 + $(CC) $(CFLAGS) $(INCLUDES) $@.c -o $@ $(LDFLAGS) $(LIBS)
18
19 clean:
20 - rm -f musca apis
21 + rm -f $(BIN_DIST)
22 +
23 +.PHONY: all clean

  ViewVC Help
Powered by ViewVC 1.1.20