nstool/programs/makefile

14 lines
310 B
Makefile
Raw Normal View History

2017-07-22 08:59:06 +00:00
PROGS = ncatool npdmtool pfstool tiktool
BIN_DIR = "../bin"
main: build
rebuild: clean build
build:
mkdir -p $(BIN_DIR)
@$(foreach prog,$(PROGS), cd $(prog) && $(MAKE) && cd .. && cp -r $(prog)/bin/* $(BIN_DIR);)
clean:
@$(foreach prog,$(PROGS), cd $(prog) && $(MAKE) clean && cd ..;)
rm -rf $(BIN_DIR)