aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile11
-rw-r--r--Makefile.am4
2 files changed, 4 insertions, 11 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 8986ffa..0000000
--- a/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-LIBS=`pkg-config --cflags --libs xcomposite xfixes xdamage xrender` -lm
-
-CFLAGS=-O -g
-
-all: xcompmgr
-
-xcompmgr: xcompmgr.c
- $(CC) -o $@ $(CFLAGS) xcompmgr.c $(LIBS)
-
-clean:
- rm xcompmgr
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..497ce06
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,4 @@
+bin_PROGRAMS = xcompmgr
+
+xcompmgr_LDADD = @XCOMPMGR_LIBS@ -lm
+xcompmgr_INCLUDES = @XCOMPMGR_CFLAGS@