Skip to content

Commit

Permalink
Updates to .gitignore to get rid of any possibility of checking in bi…
Browse files Browse the repository at this point in the history
…naries in lib/distrib directories, and generalized method of setting location of win32 and win64 libs.
  • Loading branch information
sgoings committed Feb 20, 2012
1 parent a254d20 commit e849d8f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -5,3 +5,5 @@ build
.project
.settings
bin
/lib
/distrib
12 changes: 7 additions & 5 deletions makefile
Expand Up @@ -51,6 +51,8 @@ test-build = $(build)/test
src = src
classpath-src = classpath
test = test
win32 ?= $(root)/win32
win64 ?= $(root)/win64

classpath = avian

Expand Down Expand Up @@ -361,8 +363,8 @@ endif
ifeq ($(platform),windows)
bootimage-cflags += -DTARGET_PLATFORM_WINDOWS

inc = "$(root)/win32/include"
lib = "$(root)/win32/lib"
inc = "$(win32)/include"
lib = "$(win32)/lib"

embed-prefix = c:/avian-embedded

Expand Down Expand Up @@ -411,8 +413,8 @@ ifeq ($(platform),windows)
ar = x86_64-w64-mingw32-ar
ranlib = x86_64-w64-mingw32-ranlib
strip = x86_64-w64-mingw32-strip
inc = "$(root)/win64/include"
lib = "$(root)/win64/lib"
inc = "$(win64)/include"
lib = "$(win64)/lib"
endif
endif

Expand Down Expand Up @@ -469,7 +471,7 @@ build-ld := $(build-cc)

ifdef msvc
windows-java-home := $(shell cygpath -m "$(JAVA_HOME)")
zlib := $(shell cygpath -m "$(root)/win32/msvc")
zlib := $(shell cygpath -m "$(win32)/msvc")
cxx = "$(msvc)/BIN/cl.exe"
cc = $(cxx)
ld = "$(msvc)/BIN/link.exe"
Expand Down

0 comments on commit e849d8f

Please sign in to comment.