make: Add support for mingw

This commit is contained in:
Jan Lindemann 2007-07-13 10:49:58 +00:00 committed by Jan Lindemann
commit 65ba4f3cfd
5 changed files with 47 additions and 9 deletions

View file

@ -100,8 +100,10 @@ else
$(EXE) $(EXE_BIN): $(OBJ)
endif
$(CC) $(sort $(OBJ)) $(LDFLAGS) -o $@
$(BUILD_BINDIR)/%: %
mkdir -p $(BUILD_BINDIR)
install -m 755 $@ $(BUILD_BINDIR)
install -m 755 $< $(BUILD_BINDIR)
ifeq ($(USE_PROJECT_LIB),true)
ifeq ($(LIBTYPE),shared)