Make in Windows
Description of how to install and use Make in Windows OS.
Installation
Using Makefiles in different environments
capture log close
log using "trial.log", replace text
disp "DateTime: $S_DATE $S_TIME"
log close#OS detector part
ifeq ($(OS),Windows_NT) # is Windows_NT on XP, 2000, 7, Vista, 10... STATA := StataMP-64 else STATA := stata endif
#Code starts here
trial.log: trial.do $(STATA) -e do $<Last updated