fixed makefiles for ms c++ compiler

Fri, 21 Jun 2013 11:18:24 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 21 Jun 2013 11:18:24 +0200
changeset 106
a54115d554f7
parent 105
f08fa6308d1f
child 107
86b19c98b5fd

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
     1.1 --- a/osx-debug.mk	Fri Jun 21 10:50:50 2013 +0200
     1.2 +++ b/osx-debug.mk	Fri Jun 21 11:18:24 2013 +0200
     1.3 @@ -32,9 +32,9 @@
     1.4  RM = rm
     1.5  
     1.6  CFLAGS  = -g -c
     1.7 -COFLAGS = -o
     1.8 +COFLAGS = -o ./
     1.9  LDFLAGS = 
    1.10 -LOFLAGS = -o
    1.11 +LOFLAGS = -o ./
    1.12  ARFLAGS = -r
    1.13  RMFLAGS = -f
    1.14  
     2.1 --- a/osx.mk	Fri Jun 21 10:50:50 2013 +0200
     2.2 +++ b/osx.mk	Fri Jun 21 11:18:24 2013 +0200
     2.3 @@ -32,9 +32,9 @@
     2.4  RM = rm
     2.5  
     2.6  CFLAGS  = -O2 -c
     2.7 -COFLAGS = -o
     2.8 +COFLAGS = -o ./
     2.9  LDFLAGS = 
    2.10 -LOFLAGS = -o
    2.11 +LOFLAGS = -o ./
    2.12  ARFLAGS = -r
    2.13  RMFLAGS = -f
    2.14  
     3.1 --- a/test/Makefile	Fri Jun 21 10:50:50 2013 +0200
     3.2 +++ b/test/Makefile	Fri Jun 21 11:18:24 2013 +0200
     3.3 @@ -42,11 +42,11 @@
     3.4  all: ../build/test1
     3.5  
     3.6  ../build/test1: $(OBJ)
     3.7 -	$(LD) $(LDFLAGS) $(LOFLAGS) ../build/test$(APP_EXT) $(OBJ) \
     3.8 +	$(LD) $(LDFLAGS) $(LOFLAGS)../build/test$(APP_EXT) $(OBJ) \
     3.9  		../build/libucx.$(LIB_EXT)
    3.10  
    3.11  ../build/%.$(OBJ_EXT): %.c ../build
    3.12 -	$(CC) $(CFLAGS) -I../ $(COFLAGS) $@ $<
    3.13 +	$(CC) $(CFLAGS) -I../ $(COFLAGS)$@ $<
    3.14  
    3.15  ../build:
    3.16  	mkdir -p build
     4.1 --- a/ucx/Makefile	Fri Jun 21 10:50:50 2013 +0200
     4.2 +++ b/ucx/Makefile	Fri Jun 21 11:18:24 2013 +0200
     4.3 @@ -45,10 +45,10 @@
     4.4  all: libucx
     4.5  
     4.6  libucx: $(OBJ)
     4.7 -	$(AR) $(ARFLAGS) $(AOFLAGS) ../build/libucx.$(LIB_EXT) $(OBJ)
     4.8 +	$(AR) $(ARFLAGS) $(AOFLAGS)../build/libucx.$(LIB_EXT) $(OBJ)
     4.9  
    4.10  ../build/%.$(OBJ_EXT): %.c ../build
    4.11 -	$(CC) $(CFLAGS) $(COFLAGS) $@ $<
    4.12 +	$(CC) $(CFLAGS) $(COFLAGS)$@ $<
    4.13  
    4.14  ../build:
    4.15  	mkdir -p ../build

mercurial