Fri, 21 Jun 2013 11:18:24 +0200
fixed makefiles for ms c++ compiler
osx-debug.mk | file | annotate | diff | comparison | revisions | |
osx.mk | file | annotate | diff | comparison | revisions | |
test/Makefile | file | annotate | diff | comparison | revisions | |
ucx/Makefile | file | annotate | diff | comparison | revisions |
--- a/osx-debug.mk Fri Jun 21 10:50:50 2013 +0200 +++ b/osx-debug.mk Fri Jun 21 11:18:24 2013 +0200 @@ -32,9 +32,9 @@ RM = rm CFLAGS = -g -c -COFLAGS = -o +COFLAGS = -o ./ LDFLAGS = -LOFLAGS = -o +LOFLAGS = -o ./ ARFLAGS = -r RMFLAGS = -f
--- a/osx.mk Fri Jun 21 10:50:50 2013 +0200 +++ b/osx.mk Fri Jun 21 11:18:24 2013 +0200 @@ -32,9 +32,9 @@ RM = rm CFLAGS = -O2 -c -COFLAGS = -o +COFLAGS = -o ./ LDFLAGS = -LOFLAGS = -o +LOFLAGS = -o ./ ARFLAGS = -r RMFLAGS = -f
--- a/test/Makefile Fri Jun 21 10:50:50 2013 +0200 +++ b/test/Makefile Fri Jun 21 11:18:24 2013 +0200 @@ -42,11 +42,11 @@ all: ../build/test1 ../build/test1: $(OBJ) - $(LD) $(LDFLAGS) $(LOFLAGS) ../build/test$(APP_EXT) $(OBJ) \ + $(LD) $(LDFLAGS) $(LOFLAGS)../build/test$(APP_EXT) $(OBJ) \ ../build/libucx.$(LIB_EXT) ../build/%.$(OBJ_EXT): %.c ../build - $(CC) $(CFLAGS) -I../ $(COFLAGS) $@ $< + $(CC) $(CFLAGS) -I../ $(COFLAGS)$@ $< ../build: mkdir -p build
--- a/ucx/Makefile Fri Jun 21 10:50:50 2013 +0200 +++ b/ucx/Makefile Fri Jun 21 11:18:24 2013 +0200 @@ -45,10 +45,10 @@ all: libucx libucx: $(OBJ) - $(AR) $(ARFLAGS) $(AOFLAGS) ../build/libucx.$(LIB_EXT) $(OBJ) + $(AR) $(ARFLAGS) $(AOFLAGS)../build/libucx.$(LIB_EXT) $(OBJ) ../build/%.$(OBJ_EXT): %.c ../build - $(CC) $(CFLAGS) $(COFLAGS) $@ $< + $(CC) $(CFLAGS) $(COFLAGS)$@ $< ../build: mkdir -p ../build