Made gussian_map get called just once rather than N times
[dana/xcompmgr.git] / Makefile
index ad7079a..da2fb88 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,14 @@
-LIBS=`pkg-config --cflags --libs xcomposite xfixes xdamage xrender`
+LIBS=`pkg-config --cflags --libs xcomposite xfixes xdamage xrender` -lm
+
+CFLAGS=-O -g
+
+all: xcompmgr mbcompmgr
 
 xcompmgr: xcompmgr.c
        $(CC) -o $@ $(CFLAGS) xcompmgr.c $(LIBS)
 
 
 xcompmgr: xcompmgr.c
        $(CC) -o $@ $(CFLAGS) xcompmgr.c $(LIBS)
 
+mbcompmgr: mbcompmgr.c
+       $(CC) -o $@ $(CFLAGS) mbcompmgr.c $(LIBS)
+
 clean:
 clean:
-       rm xcompmgr
+       rm xcompmgr mbcompmgr