blob: bb21db68ce48d91538c16456a819c379b6106b98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- Makefile 2006-02-09 16:45:52.000000000 +0300
+++ Makefile 2011-07-18 13:58:58.644703015 +0400
@@ -1,14 +1,14 @@
PACKAGES = xcomposite xfixes xdamage xrender
-LIBS=`pkg-config --libs ${PACKAGES}` -lm
-INCS=`pkg-config --cflags ${PACKAGES}`
+LIBS=$(shell pkg-config --libs $(PACKAGES)) -lm
+INCS=$(shell pkg-config --cflags $(PACKAGES))
.c.o:
- $(CC) $(CFLAGS) $(INCS) -c $*.c
+ $(CC) $(CFLAGS) $(INCS) -c $< -o $@
OBJS=set_opacity.o interface.o stack.o
set_opacity: $(OBJS)
- $(CC) $(CFLAGS) -g -o $@ $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
$(OBJS): interface.h stack.h
|