]> git.stg.codes - stg.git/blobdiff - stglibs/pinger.lib/Makefile
Keep stglibs headers and libraries "at home"
[stg.git] / stglibs / pinger.lib / Makefile
index 5f368b64b76f75e7eb91456af376807d3fa555aa..c8c09b3e7ec258005800aefbb153cb94a255a5d9 100644 (file)
@@ -2,8 +2,7 @@
 # $Id: Makefile,v 1.5 2008/12/04 17:13:14 faust Exp $
 ###############################################################################
 
-LIB_NAME = stg_pinger
-PROG = lib$(LIB_NAME)
+LIB_NAME = stgpinger
 
 SRCS = pinger.cpp
 
@@ -11,8 +10,11 @@ INCS = pinger.h
 
 LIBS = $(LIB_THREAD)
 
+LIB_INCS = -I ../locker.lib/include \
+          -I ../common.lib/include
+
 include ../Makefile.in
 
 test: all
        g++ -c test.cpp
-       g++ -o test test.o ./libstg_pinger.a -lpthread
+       g++ -o test test.o ./libstgpinger.a -lpthread