# --------------------------

TARGET=		xcut
SRCS=		$(TARGET).c dsimple.c
OBJECTS=	$(TARGET).o dsimple.o
HEADERS=	
INCS=		
LIBS=		
LDFLAGS=	
CC=		cc
CFLAGS=		-O

# Xlib: "X11"

X11_INCS=
X11_LIBS=		-lX11
X11_LDFLAGS=

DESTDIR = /usr/sipb/@sys/

# To add a new library, add it above and below this comment.  Include
# all three types of things (INCS, LIBS, LDFLAGS) below even if you
# don't use them.  

ALL_INCS=	$(INCS) $(X11_INCS) $(MOT_INCS) $(ZEP_INCS) 
ALL_LIBS=	$(LIBS) $(X11_LIBS) $(MOT_LIBS) $(ZEP_LIBS)
ALL_LDFLAGS=	$(LDFLAGS) $(X11_LDFLAGS) $(MOT_LDFLAGS) $(ZEP_LDFLAGS)

$(TARGET): $(OBJECTS)
	$(CC) $(CFLAGS) $(ALL_INCS) $(ALL_LDFLAGS) $(OBJECTS) $(ALL_LIBS) -o $(TARGET)

install: 
	install -c -s xcut $(DESTDIR)

clean:
	rm xcut.o dsimple.o

saber:
	#load $(SRCS) $(ALL_LIBS)

depend:
	makedepend -- $(CFLAGS) -- $(SRCS)

