blob: 2f1fb4aa411e8838ebadbfba4ab2c6b5e4ca7421 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
From: Julian Ospald <hasufell@gentoo.org>
Date: Tue Jul 24 15:08:47 UTC 2012
Subject: build system
--- openbox-menu-0.3.6.7/Makefile
+++ openbox-menu-0.3.6.7/Makefile
@@ -1,9 +1,8 @@
-LIBS= `pkg-config --libs glib-2.0 gtk+-2.0 libmenu-cache`
-CFLAGS+= -Wall -g `pkg-config --cflags glib-2.0 gtk+-2.0 libmenu-cache`
+LIBS= $(shell pkg-config --libs glib-2.0 gtk+-2.0 libmenu-cache)
+CFLAGS+= $(shell pkg-config --cflags glib-2.0 gtk+-2.0 libmenu-cache)
-prefix= /usr
-DESTDIR ?= $(prefix)
-BINDIR= /bin/
+prefix ?= /usr
+BINDIR = $(prefix)/bin/
SRC= $(shell ls *.c 2> /dev/null)
OBJ= $(SRC:.c=.o)
|