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

SCM Repository

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

View of /trunk/sml3d/src/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 481 - (download) (annotate)
Mon Sep 21 22:46:32 2009 UTC (10 years ago) by jhr
File size: 843 byte(s)
  Better cleanup/configuration
# Makefile for sml3d library
#
# Copyright (c) 2006 John Reppy (www.cs.uchicago.edu/~jhr)
# All rights reserved.
#
# @configure_input@
#

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

# subdirectories that have Makefiles
SUBDIRS = base
ifeq (@BUILD_GLUT@,true)
  SUBDIRS += glut
endif
ifeq (@BUILD_SDL@,true)
  SUBDIRS += sdl
endif
ifeq (@BUILD_IMAGE_IO_GLUE@,true)
  SUBDIRS += image-io
endif

.PHONY:		build
build:
	for d in '' $(SUBDIRS); do \
	  if test x"$$d" != x ; then \
	      (cd $$d && $(MAKE)); \
	  fi \
	done

.PHONY:		clean
clean:
	for d in '' $(SUBDIRS); do \
	  if test x"$$d" != x ; then \
	    (cd $$d && $(MAKE) clean); \
	  fi \
	done

.PHONY: 	distclean
distclean:	clean
	for d in '' $(SUBDIRS); do \
	  if test x"$$d" != x ; then \
	    (cd $$d && $(MAKE) distclean); \
	  fi \
	done
	rm -rf Makefile sml3d-path-map


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