#+------------------------------------------------------------------------- # Imakefile - xmpdraw # wht@n4hgf.Mt-Park.GA.US #-------------------------------------------------------------------------- #+:EDITS: #:02-21-1992-17:06-wht@n4hgf-get ready for alt.sources #:03-31-1991-17:47-wht@n4hgf-make Complex Program Target #:03-31-1991-17:45-wht@n4hgf-creation VERSION = x0.40 /* * I made a stab at BSD portability * if you have index() vs. strchr(), add -DBSD to the following */ DEF2 = DEFINES = -I/usr/include/X11 -I../include -DVERSION='"$(VERSION)"' $(DEF2) LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) #DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) PROGRAMS = xmpdraw SYS_LIBRARIES = -lm SRCS = main.c sel.c ambsel.c xprocs.c util.c mp.c xamb.c rubber.c DrawBox.c \ clip.c OBJS = main.o sel.o ambsel.o xprocs.o util.o mp.o xamb.o rubber.o DrawBox.o \ clip.o really_all: all amd2amb _us.amb amt2amb cities.amb ComplexProgramTarget(xmpdraw) amd2amb: amd2amb.c cc -O amd2amb.c -o $@ _us.amb: _us.amd amd2amb _us.amd > _us.amb amt2amb: amt2amb.c cc -O amt2amb.c -o $@ cities.amb: cities.amt amt2amb cities.amt > cities.amb shar: -mkdir old sh -c 'cd ..; shar -x -a -s wht@n4hgf.Mt-Park.GA.US \ -F -n xmpdraw-$(VERSION) -o xmpdraw/old/mpd-$(VERSION) -l 50 \ xmpdraw/README xmpdraw/Imakefile xmpdraw/*.[ch] \ xmpdraw/*.amd xmpdraw/*.amt xmpdraw/doit' DependTarget()