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 fild types in services and corporations
[stg.git]
/
projects
/
rscriptd
/
Makefile
diff --git
a/projects/rscriptd/Makefile
b/projects/rscriptd/Makefile
index 2b6cbc1c4c6f2a778bd720dc93fa720a973876e5..a009a5c1d9359af5a6ff868f0f69fbc2935ae76b 100644
(file)
--- a/
projects/rscriptd/Makefile
+++ b/
projects/rscriptd/Makefile
@@
-18,12
+18,6
@@
STGLIBS = -lstglogger \
LIBS += $(LIB_THREAD)
LIBS += $(LIB_THREAD)
-#ifeq ($(OS),linux)
-#LIBS += -ldl
-#else
-#LIBS += -lc
-#endif
-
SEARCH_DIRS = -I $(DIR_INCLUDE)
OBJS = $(notdir $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS))))
SEARCH_DIRS = -I $(DIR_INCLUDE)
OBJS = $(notdir $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS))))
@@
-31,7
+25,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)
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 install uninstall
all: libs $(PROG) ../../Makefile.conf
.PHONY: all clean distclean libs install uninstall
all: libs $(PROG) ../../Makefile.conf
@@
-40,7
+34,7
@@
libs:
$(MAKE) -C $(DIR_LIBSRC)
$(PROG): $(OBJS) $(STGLIBS)
$(MAKE) -C $(DIR_LIBSRC)
$(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