VMAJOR=2 VMINOR=0 HDRS = SRCS = xdp.c MANS = xdp.1 include ../../Make.cnf XINC = -I/usr/include/X11 XLIB = -L/usr/X11R6/lib IMGINC = -DUSEPICT -I../../src IMGLIB = -lpict # if you dont have jpeg... #IMGINC = -DUSEPICT -I../../src #IMGLIB = -lpict CCOPT = $(CCFLAGS) $(IMGINC) $(XINC) -DDEFCOLS=128 MAKEFILE=Makefile LIBS=-L../../src $(IMGLIB) $(XLIB) -lX11 PROG = xdp all: $(PROG) .SUFFIXES: .c .c: $(CC) $(CCOPT) $< -o $@ $(LIBS) clean clobber: @rm -f $(PROG) $(OBJS) core tags install: $(PROG) $(INSTALL) $? $(BINX_DIR) $(INSTALL_DATA) $?.1 $(MAN1_DIR)