Imakefile   [plain text]


XCOMM $XFree86: xc/programs/texteroids/Imakefile,v 1.4 2003/05/27 17:58:24 tsi Exp $

        DEPLIBS = $(DEPDPSLIB) $(DEPXTOOLLIB) $(DEPXONLYLIB)
LOCAL_LIBRARIES = $(XTOOLLIB) $(DPSLIB) $(XONLYLIB)
  SYS_LIBRARIES = MathLibrary
         PSWRAP = PsWrap

SRCS = twraps.psw texteroids.c

OBJS = twraps.o texteroids.o

DERIVED_FILES = twraps.h twraps.c

.SUFFIXES: .psw .h

.psw.c : ProgramTargetName($(PSWRAP))
	RunProgram(PSWRAP,-a -o $*.c -h $*.h $<)

.psw.h : ProgramTargetName($(PSWRAP))
	RunProgram(PSWRAP,-a -h $*.h $< > /dev/null)

depend:: $(DERIVED_FILES)

ComplexProgramTarget(texteroids)

clean ::
	$(RM) $(DERIVED_FILES)