Open kristianmandrup opened 7 years ago
Trying to build using a nested folder structure for divide/conquer of logic. Not used to Makefile, how to I make all my nested ls files compile into lib !?!?.
Makefile
ls
lib
LIB = $(SRC:src/%.ls=lib/%.js) lib: rm -rf lib mkdir -p lib/ lib/%.js: src/%.ls lib $(LSC) --compile --output lib "$<" lib/replace/%.js: src/replace/%.ls lib/replace $(LSC) --compile --output lib/replace "$<" lib/runner/%.js: src/runner/%.ls lib/runner $(LSC) --compile --output lib/runner "$<"
Trying to build using a nested folder structure for divide/conquer of logic. Not used to
Makefile
, how to I make all my nestedls
files compile intolib
!?!?.