Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /tests/rtest/scripts/makerules_gmk.in
ViewVC logotype

View of /tests/rtest/scripts/makerules_gmk.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5052 - (download) (annotate)
Thu Jul 13 17:26:39 2017 UTC (2 years, 2 months ago) by jhr
File size: 621 byte(s)
  Adding support for regression tests that use a Makefile to build.
  This mechanism is needed to support tests that compile the Diderot
  program to a library.  We have also changed the configuration
  process; specify the root of the diderot source to be tested
  instead of the path to diderotc.
# make definitions and rules for those regression tests that use
# a makefile to build
#

SHELL =		@SHELL@

DIDEROTC =	@DIDEROTC@
# Note: DIDEROTC_FLAGS are defined by the regression test's makefile

CC =		@CC@
CXX =		@CXX@
CXXFLAGS =	@CXXFLAGS@ 
INCLUDES =	-I@DIDEROT_ROOT@/include -I@TEEM_DIR@/include
LDFLAGS =	-L@TEEM_DIR@/lib
LIBS =		-lteem
CPPFLAGS =	@CPPFLAGS@ $(INCLUDES)

$(TARGET):	$(TARGET).o main.o
	$(CXX) -o $(TARGET) $(CPPFLAGS) $(LDFLAGS) main.o $(TARGET).o $(LIBS)

main.o:		$(TARGET).o main.c
	$(CC) -c $(CPPFLAGS) main.c

$(TARGET).o:	$(TARGET).diderot
	$(DIDEROTC) $(DIDEROTC_FLAGS) $(TARGET).diderot

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0