#  Generic routines for all applications
#  MIMD version 6
#
#  Generic make-include file for generic directory codes
#  This template file defines rules and macros common to all applications
#  It is intended to be an include file for other Makefiles.
#  Don't use it by itself!
#
#  The paths are relative to the application directory.

include ../generic/Make_template

G_ALL_QDP = \
 layout_qdp.o \
 stuff_qdp.o

G_HEADERS_QDP = \
  $(QDP)/include/qdp.h

G_ALL_DEPEND_QDP = \
  ../generic/Make_template_qdp \
  ../include/Make_template_qdp \
  ${G_HEADERS_QDP} \
  ${G_ALL_DEPEND}

${G_ALL_QDP} : ${G_ALL_DEPEND_QDP}

# Rules for header files
include ../include/Make_template_qdp

layout_qdp.o: ../generic/layout_qdp.c
	${CC} -c ${CFLAGS} $<

stuff_qdp.o: ../generic/stuff_qdp.c
	${CC} -c ${CFLAGS} $<
