Project

General

Profile

« Previous | Next » 

Revision 1659

input.Makefile: Use new sort_filenames to putmultiple numbered sources in the correct order, dealing correctly with embedded numbers that aren't padded with leading zeros

View differences:

input.Makefile
170 170

  
171 171
+maps = $(filter maps/% $(mappings)/%,$(+_))
172 172
<in = $(firstword $(filter-out $(+maps),$(+_)))
173
srcs = $(sort $(wildcard $(exts:%=src/*.$*.%)))
173
srcs = $(shell $(bin)/sort_filenames $(wildcard $(exts:%=src/*.$*.%)))
174 174
map = $(if $(<in),<$(<in),\
175 175
$(if $(srcs),$(bin)/with_cat_csv $(srcs) --,\
176 176
$(if $(mapEnv),env $(mapEnv),\

Also available in: Unified diff