# Hey emacs, this is a -*- Makefile -*- ! SHELL=/bin/sh INPUTS=$(wildcard in.*.py) OUTPUTS=$(INPUTS:in.%.py=log.%-$(MACH)$(TAG)) LIB=liblammps.so lammps.py default: @echo Run tests with "make test MACH= MPICMD= LMPFLAGS=" test: $(LIB) $(OUTPUTS) log.%-$(MACH)$(TAG): in.%.py $(LIB) $(MPICMD) python $(LMPFLAGS) $< mv log.lammps $@ clean: -rm -f log.*