Commit 225e859e authored by michel's avatar michel
Browse files

adapted Makefile for cross compiling

git-svn-id: ac1d8469-bf42-47a9-8791-bf33cf982152
parent d13d5b30
AR = ar
CPP = g++
......@@ -10,6 +11,7 @@ endif
ifeq ($(CROSS_WIN32), yes)
CPP = i586-mingw32msvc-g++
AR = i586-mingw32msvc-ar
# Detection of uninitialized variables is buggy in MinGW and generates spurious warnings
CPPFLAGS += -Wno-uninitialized
......@@ -3,7 +3,7 @@ include ../Makefile.include
OBJ = MacroFlex.o MacroBison.o MacroDriver.o
libmacro.a: $(OBJ)
ar crs libmacro.a $(OBJ)
$(AR) crs libmacro.a $(OBJ)
-include $(OBJ:.o=.P)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment