Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (22 sloc) 583 Bytes
SOURCES = \
$(wildcard *.cs) \
$(wildcard */*.cs)
TOPDIR = ..
LIBRARY = MonkeyWrench.Database.dll
OUT_DIR = $(TOPDIR)/class/lib
OUT = $(OUT_DIR)/$(LIBRARY)
BUILDABLE_REFS = \
$(OUT_DIR)/MonkeyWrench.dll \
$(OUT_DIR)/MonkeyWrench.DataClasses.dll
REFERENCES = \
$(foreach ref,$(BUILDABLE_REFS),-r:$(ref)) \
-r:Npgsql.dll \
-r:System.Data.dll
$(OUT): $(SOURCES) $(BUILDABLE_REFS)
@echo " DMCS $(LIBRARY)"
@MONO_PATH=$(OUT_DIR):$(MONO_PATH) dmcs -target:library -debug:full -out:$@ $(SOURCES) $(REFERENCES)
all: $(OUT)
clean:
@rm -f $(OUT)*
publish install: all
@:
Jump to Line
Something went wrong with that request. Please try again.