add readme

This commit is contained in:
Christopher Jeffrey
2011-11-04 13:52:05 -05:00
parent 0732a19af2
commit 47d61d34ae
4 changed files with 93 additions and 0 deletions

22
Makefile_ Normal file
View File

@ -0,0 +1,22 @@
PACKAGES=x11 xcomposite xfixes xdamage xrender
LIBS=`pkg-config --libs ${PACKAGES}` -lm
INCS=`pkg-config --cflags ${PACKAGES}`
CFLAGS = -Wall
.c.o:
$(CC) $(CFLAGS) $(INCS) -c $*.c
OBJS=xcompmgr.o
xcompmgr: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
$(OBJS): xcompmgr.h
install:
cp -t /usr/bin/local xcompmgr
clean:
rm -f $(OBJS) xcompmgr
.PHONY: install clean