Project

General

Profile

« Previous | Next » 

Revision 259

Moved inputs into svn

View differences:

Makefile
1 1
# Make
2 2
SHELL := /bin/bash
3
subMake = $(if $(wildcard $(@D)/Makefile*),$(MAKE) $(@F:!%=%) --directory=$(@D),)
3
subMake = $(if $(wildcard $(@D)/Makefile*),$(MAKE) $(@F) --directory=$(@D),)
4 4

  
5 5
# OS
6 6
os := $(shell uname)
......
137 137

  
138 138
#####
139 139

  
140
inputsDir := ../../inputs
140
inputsDir := ../inputs
141 141
inputs := $(wildcard $(inputsDir)/*/)
142 142

  
143
inputs: _not_file $(inputs:%=%!install)
143
inputs: _not_file $(inputs:%=%install)
144 144

  
145
$(inputsDir)/%/!install: _not_file
146
	-$(subMake)
147
# ignore errors in sub-makes
145
rm_inputs: _not_file $(inputs:%=%uninstall)
148 146

  
149
rm_inputs: _not_file $(inputs:%=%!uninstall)
150

  
151
$(inputsDir)/%/!uninstall: _not_file
147
$(inputsDir)/%: _not_file
152 148
	-$(subMake)
153 149
# ignore errors in sub-makes
154 150

  

Also available in: Unified diff