test/Makefile

changeset 156
6a4bd1f4c57e
parent 155
45395ba5ed30
child 164
1fa3f13f774c
--- a/test/Makefile	Mon Sep 09 10:48:08 2013 +0200
+++ b/test/Makefile	Mon Sep 09 11:54:32 2013 +0200
@@ -45,21 +45,21 @@
 debug: ../build/debug/test ../build/debug/test/ucxtest$(APP_EXT)
 
 ../build/release/test/ucxtest$(APP_EXT): $(OBJ)
-	$(LD) $(LDFLAGS) $(LOFLAGS)../build/release/test/ucxtest$(APP_EXT) \
+	$(LD) $(LDFLAGS) -o ../build/release/test/ucxtest$(APP_EXT) \
 		$(OBJ) ../build/release/libucx$(LIB_EXT)
 
 ../build/release/test/%$(OBJ_EXT): %.c
-	$(CC) $(CFLAGS) -I../ $(COFLAGS)$@ $<
+	$(CC) $(CFLAGS) -I../ -o $@ -c $<
 
 ../build/release/test:
 	$(MKDIR) $(MKDIRFLAGS) ../build/release/test
 
 ../build/debug/test/ucxtest$(APP_EXT): $(OBJ_D)
-	$(LD) $(LDFLAGS_D) $(LOFLAGS)../build/debug/test/ucxtest$(APP_EXT) \
+	$(LD) $(LDFLAGS) -o ../build/debug/test/ucxtest$(APP_EXT) \
 		$(OBJ_D) ../build/debug/libucx$(LIB_EXT)
 
 ../build/debug/test/%$(OBJ_EXT): %.c
-	$(CC) $(CFLAGS_D) -I../ $(COFLAGS)$@ $<
+	$(CC) $(CFLAGS_D) -I../ -o $@ -c $<
 
 ../build/debug/test:
 	$(MKDIR) $(MKDIRFLAGS) ../build/debug/test

mercurial