#for use on Windows: #MKDIR=mkdir #RM=del /y CXXFLAGS+=-static-libgcc -static-libstdc++ CFLAGS+=-static-libgcc export OUTDIR=out all: $(OUTDIR) $(MAKE) -C Hearts $(OUTDIR): mkdir $(OUTDIR) clean: $(RM) *.o *.a *.exe rebuild: clean all