CC = cc
CFLAGS = -g

### liberaries
X_LIB = -lX11




XACURSOR_OBJ=	cursor.o main.o 




all: xacursor


xacursor: $(XACURSOR_OBJ)
	$(CC) -o xacursor $(CFLAGS) $(XACURSOR_OBJ) $(X_LIB)

cursor.o: decor.h




demo:
	xacursor -fg firebrick3 -bg goldenrod1 demo

earth:
	xacursor -bg cadetblue -fg wheat earth

cursor:
	xacursor -cursor aicon/earth29.xbm -mask aicon/earth_m.xbm -bg gold3


shar:
	shar -o xacursor1.sh  -n1 -e2 xacursor xacursor/*
	shar -o xacursor2.sh  -n2 -e2 xacursor/aicon/*.xbm

clean:
	rm *.o a.out

