--- a/test/Makefile Thu Oct 11 16:29:30 2012 +0200 +++ b/test/Makefile Fri Oct 12 10:54:55 2012 +0200 @@ -42,10 +42,11 @@ all: ../build/test1 ../build/test1: $(OBJ) - $(LD) $(LDFLAGS) -o ../build/test$(APP_EXT) $(OBJ) ../build/libucx.a + $(LD) $(LDFLAGS) $(LOFLAGS)../build/test$(APP_EXT) $(OBJ) \ + ../build/libucx.$(LIB_EXT) ../build/%.$(OBJ_EXT): %.c ../build - $(CC) $(CFLAGS) -I../ -o $@ -c $< + $(CC) $(CFLAGS) -I../ $(COFLAGS)$@ $< ../build: mkdir -p build