Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 0243c8b7bca94179c78b9bd6ac76c033 > files > 277

cg-examples-3.0.0018-0.1.x86_64.rpm

# Makefile for GNU make

# The Direct3D9 examples do not compile with GNU make; use the Visual Studio projects instead.
SUBDIRS := 
SUBDIRS += Tools
SUBDIRS += OpenGL

define SPAWN_MAKE
	$(MAKE) -C $(1) -f Makefile $@

endef

.PHONY: all .DEFAULT

all:
	$(foreach dir,$(SUBDIRS),$(call SPAWN_MAKE,$(dir)))

.DEFAULT:
	$(foreach dir,$(SUBDIRS),$(call SPAWN_MAKE,$(dir)))