Sha256: 2fab3fd6f0cc7976319a2af8305a45fc6b5f5052348e841716465181e4318e52

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

# Makefile for sub directories
AMBER = st
SERVER = server
REPL = repl
EXAMPLES = examples

# REST is all except AMBER
REST = $(SERVER) $(EXAMPLES) $(REPL)

# And these are all
DIRS = $(AMBER) $(REST)

# The sets of directories to do various things in
BUILDDIRS = $(DIRS:%=build-%)
EXAMPLESDIRS = $(EXAMPLES:%=build-%)
INSTALLDIRS = $(AMBER:%=install-%)
CLEANDIRS = $(REST:%=clean-%)
CLEANALLDIRS = $(DIRS:%=clean-%)

all: $(BUILDDIRS)
$(DIRS): $(BUILDDIRS)
$(BUILDDIRS):
	$(MAKE) -C $(@:build-%=%)

amber: build-st

# Examples and server need Amber first
build-server: build-st
build-examples: build-st

examples: $(EXAMPLESDIRS)
$(EXAMPLESDIRS):
	$(MAKE) -C $(@:build-%=%)

install: $(INSTALLDIRS)
$(INSTALLDIRS):
	$(MAKE) -C $(@:install-%=%) install

clean: $(CLEANDIRS)
$(CLEANDIRS): 
	$(MAKE) -C $(@:clean-%=%) clean

cleanall: $(CLEANALLDIRS) 
$(CLEANALLDIRS): 
	$(MAKE) -C $(@:clean-%=%) clean


.PHONY: subdirs $(DIRS)
.PHONY: subdirs $(BUILDDIRS)
.PHONY: subdirs $(INSTALLDIRS)
.PHONY: subdirs $(CLEANDIRS)
.PHONY: subdirs $(CLEANALLDIRS)
.PHONY: all install clean

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mdbe-0.1.0 public/amber/Makefile
maglev-database-explorer-0.0.5 public/amber/Makefile
maglev-database-explorer-0.0.4 public/amber/Makefile
maglev-database-explorer-0.0.3 public/amber/Makefile
maglev-database-explorer-0.0.2 public/amber/Makefile
maglev-database-explorer-0.0.1 public/amber/Makefile