/*
 * Samples Imakefile < Imakefile >
 *
 * Sample programs of XBGI: Borland Graphics Interface for Xlib
 *
 * Copyright (c) 1992-94,95 Tokyo Denki University, Taiji Yamada
 */
.SUFFIXES: .cxx
#include "../config.h"

EXTRA_INCLUDES = -I../sources/common -I../sources/x11 -I../sources/ps -I../sources/misc -I../graffit/sources

.c:
	$(CC) $(CFLAGS) $(CPPFLAGS) $(EXTRA_INCLUDES) $(LDFLAGS) $< -o $@ $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)

.cxx:
	$(CXX) $(CFLAGS) $(CPPFLAGS) $(EXTRA_INCLUDES) $(LDFLAGS) $< -o $@ $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)

TARGETS =\
 attract\
 attract2\
 axes\
 axes_\
 bgidemo\
 carpet\
 chaos\
 clock\
 colors\
 cubes\
 draw\
 hello\
 hello2\
 julia\
 mandara\
 mandel\
 message\
 pages\
 pages2\
 pages3\
 pages4\
 penta\
 recurse\
 sponge\
 strange\
 strange2

all:: $(TARGETS)

clean::
	-$(RM) $(TARGETS)
