]> git.stg.codes - stg.git/blobdiff - projects/sgauthstress/Makefile
Fix compilation and linkage issues
[stg.git] / projects / sgauthstress / Makefile
index a90e9b6da34173300e2f5b67e70cb656c2d4063a..4864da31caa597a227369447d5490d2a0d4d8b74 100644 (file)
@@ -2,14 +2,15 @@ include ../../Makefile.conf
 
 PROG = sgauthstress
 
-SRCS = ./main.cpp \
-       ./settings.cpp \
-       ./store_loader.cpp
+SRCS = main.cpp \
+       settings.cpp \
+       store_loader.cpp \
+       user.cpp \
+       proto.cpp
 
 STGLIBS =  -lstgcrypto \
            -lstgcommon \
-           -ldotconfpp \
-           -lstgia
+           -ldotconfpp
 
 LIBS += $(LIB_THREAD)
 
@@ -27,7 +28,7 @@ OBJS = $(notdir $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS))))
 CXXFLAGS += -Wall
 LDFLAGS += -Wl,-E -L$(DIR_LIB) -Wl,-rpath,$(PREFIX)/usr/lib/stg -Wl,-rpath-link,$(DIR_LIB)
 
-vpath %.so $(DIR_LIB)
+vpath %.a $(DIR_LIB)
 
 .PHONY: all clean distclean libs plugins
 all: libs plugins $(PROG) ../../Makefile.conf