]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/tests/Makefile
Pocos cambios a la vista del "usuario":
[z.facultad/75.42/plaqui.git] / Server / tests / Makefile
index c3acd4d3856a0ef12d84ed110fd9eb84bf36e6c8..526d9228d060f832d6d4d483d5c888953b17bd69 100644 (file)
@@ -34,12 +34,11 @@ LIB_FILES=../src
 
 # Opciones para el compilador.
 CXXFLAGS=-ansi -pedantic -Wall -I$(INCLUDE_DIR) \
-               `pkg-config --cflags glibmm-2.0` `pkg-config --cflags gthread-2.0`
+               `pkg-config --cflags glibmm-2.0 gthread-2.0`
 CXXFLAGS+=-g -DDEBUG
 #CXXFLAGS+=-g
 #CXXFLAGS+=-O3
-LDFLAGS=-lsocket++ -L$(LIB_FILES) `pkg-config --libs glibmm-2.0` \
-               `pkg-config --libs gthread-2.0`
+LDFLAGS=-lsocket++ -L$(LIB_FILES) `pkg-config --libs glibmm-2.0 gthread-2.0`
 
 TARGETS=server_test
 
@@ -51,7 +50,7 @@ $(LIB_FILES)/server.a:
        cd $(LIB_FILES) && $(MAKE)
 
 # Tests
-server_test: $(LIB_FILES)/server.a server_test.cpp
+server_test: $(LIB_FILES)/server.a server_test.o
 
 clean:
        rm -f $(TARGETS) *.o