test/Makefile

changeset 69
fb59270b1de3
parent 60
abae4669fba7
child 103
08018864fb91
--- 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

mercurial