TARGETS = stringformat.exe md5sum.exe httpget.exe httpdl.exe # # -pkg:dotnet # -r:System.IO.Compression # -r:System.IO.Compression.FileSystem # stringformat_SRC = stringformat.cs stringformat_OPTS = -pkg:dotnet md5sum_SRC = md5sum.cs md5sum_OPTS = -pkg:dotnet httpget_SRC = httpget.cs httpget_OPTS = -pkg:dotnet -r:System.Net.Http httpdl_SRC = httpdl.cs httpdl_OPTS = -pkg:dotnet -r:System.Net.Http .SUFFIXES: .SUFFIXES: .cs .exe # MCS_OPTS = -g -debug MCS_OPTS = -debug # all: # for VAR in $(TARGETS); do make $${VAR}_BIN ; done all: BEGIN $(TARGETS) clean: rm -f $(TARGETS) bvm_reg_defs.h *.o BEGIN: yes ''|head stringformat.exe: $(stringformat_SRC) mcs $(MCS_OPTS) $(stringformat_OPTS) $(stringformat_SRC) md5sum.exe: $(md5sum_SRC) mcs $(MCS_OPTS) $(md5sum_OPTS) $(md5sum_SRC) httpget.exe: $(httpget_SRC) mcs $(MCS_OPTS) $(httpget_OPTS) $(httpget_SRC) httpdl.exe: $(httpdl_SRC) mcs $(MCS_OPTS) $(httpdl_OPTS) $(httpdl_SRC)