git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix creator method call
[stg.git]
/
projects
/
convertor
/
Makefile
diff --git
a/projects/convertor/Makefile
b/projects/convertor/Makefile
index a143687cd66397cd44b5ea6b7c4ad663ec6025f0..86ab6ed3dd1b305db53e7980e8d1179f5dfe70ce 100644
(file)
--- a/
projects/convertor/Makefile
+++ b/
projects/convertor/Makefile
@@
-9,10
+9,10
@@
PROG = convertor
SRCS = ./main.cpp \
./settings_impl.cpp
SRCS = ./main.cpp \
./settings_impl.cpp
-STGLIBS = -lstg
_
logger \
- -lstg
_
common \
+STGLIBS = -lstglogger \
+ -lstgcommon \
-ldotconfpp \
-ldotconfpp \
- -lstg
_
crypto
+ -lstgcrypto
LIBS += $(LIB_THREAD)
LIBS += $(LIB_THREAD)
@@
-29,7
+29,7
@@
OBJS = $(notdir $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS))))
CXXFLAGS += -Wall
LDFLAGS += -Wl,-E -L$(DIR_LIB) -Wl,-rpath,$(DIR_LIB)
CXXFLAGS += -Wall
LDFLAGS += -Wl,-E -L$(DIR_LIB) -Wl,-rpath,$(DIR_LIB)
-vpath %.
so
$(DIR_LIB)
+vpath %.
a
$(DIR_LIB)
.PHONY: all clean distclean libs plugins install uninstall
all: libs plugins $(PROG) ../../Makefile.conf
.PHONY: all clean distclean libs plugins install uninstall
all: libs plugins $(PROG) ../../Makefile.conf
@@
-41,7
+41,7
@@
plugins: libs
$(MAKE) -C $(DIR_PLUGINS)
$(PROG): $(OBJS) $(STGLIBS)
$(MAKE) -C $(DIR_PLUGINS)
$(PROG): $(OBJS) $(STGLIBS)
- $(C
C
) $^ $(LDFLAGS) $(LIBS) -o $(PROG)
+ $(C
XX
) $^ $(LDFLAGS) $(LIBS) -o $(PROG)
clean:
rm -f deps $(PROG) *.o tags *.*~ .OS
clean:
rm -f deps $(PROG) *.o tags *.*~ .OS