good proceed "switch" makefile


i'm experimenting an updated build component during work; currently, i'm perplexing good proceed set compiler & flags depending aim platform.



what i something like



switch $(platform)_$(build_type)
box "linux_x86_release"
cflags = -o3
box "linux_x86_debug"
cflags = -o0 -g
box "arm_release"
cc = armcc
ar = armlink
cflags = -o2 -fx
...


which upheld gnu make. now, initial guess only do



-include $(platform)_$(build_type)


which graceful decent solution, however, creates tough an overview differs between files, plead i'm looking disrespectful minute & surpassing good 60-80 files, any containing set non-static definitions.



does anyone occur know improved proceed accomplish this? i.e. sourroundings set flags options formed another variable?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?