Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] View of /trunk/sml3d/programs/frontend/Makefile.in
ViewVC logotype

View of /trunk/sml3d/programs/frontend/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1272 - (download) (annotate)
Sun Feb 5 16:17:31 2012 UTC (7 years, 7 months ago) by jhr
File size: 1457 byte(s)
  A bunch of configuration hacking.  Added the "--enable-dev" option to configure, which
  enables extra configuration for SML3d developers
# Makefile for animation demo
#
# COPYRIGHT (c) 2008 John Reppy (http://cs.uchicago.edu/~jhr)
# All rights reserved.
#
# @configure_input@
#
SHELL =   /bin/sh
MLTON =   @MLTON@
MLTON_FLAGS =
XFLAGS =

SML3D_CONFIG_OPTIONS = glut

include @MK_DIR@/config.gmk

TARGET =  frontend

$(TARGET): frontend.mlb frontend.sml
	$(MLTON) $(MLTON_FLAGS) $(XFLAGS) -output $(TARGET) frontend.mlb $(C_OBJS)

.PHONY:   clean

clean:
	rm -rf $(TARGET)
# Makefile for sml3d library and examples
#
# Copyright (c) 2010 John Reppy (www.cs.uchicago.edu/~jhr)
#
# @configure_input@
#

SHELL =		@SHELL@
INSTALL =	@INSTALL@
@SET_MAKE@

# test directories
TESTS =		src/tests/image-gen \
		src/tests/ortho	\
		src/tests/pixels
		

# example directories
EXAMPLES =	examples/bounce \
		examples/brick \
		examples/triangle \
		examples/gears \
		examples/geyser \
		examples/particle \
		examples/physics/ballistic \
		examples/water

# subdirectories that have Makefiles
SUBDIRS =	src \
		$(TESTS) \
		$(EXAMPLES)

.PHONY:		build
build:
	for d in $(SUBDIRS); do \
	    (cd $$d && $(MAKE)); \
	done

.PHONY:		clean
clean:
	for d in $(SUBDIRS); do \
	    (cd $$d && $(MAKE) clean); \
	done

.PHONY: 	distclean
distclean:	clean
	for d in $(SUBDIRS); do \
	    (cd $$d && $(MAKE) distclean); \
	done
	rm -rf autom4te.cache config.log config.status Makefile
	rm -rf lib/*mlb lib/sml3d-path-map lib/*.o

.PHONY: 	devclean
devclean:	distclean
	(cd src && $(MAKE) devclean)
	rm -rf configure

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