mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
finish up cleaning makefiles
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@48 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+3
-1
@@ -14,6 +14,7 @@ all: znc @MODTARGET@
|
||||
|
||||
depend::
|
||||
g++ -M $(CXXFLAGS) $(SRCS) $(INCLUDES) >.depend
|
||||
(cd modules; $(MAKE) depend)
|
||||
|
||||
znc: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) $(INCLUDES) -o $@ $(LIBS) $(OBJS)
|
||||
@@ -23,10 +24,11 @@ znc-static: $(OBJS)
|
||||
strip $@
|
||||
|
||||
modules::
|
||||
cd modules && ./buildmod --all
|
||||
(cd modules; $(MAKE) all)
|
||||
|
||||
clean:
|
||||
rm -rf znc znc-static *.o core core.*
|
||||
(cd modules; $(MAKE) clean)
|
||||
|
||||
-include .depend
|
||||
|
||||
|
||||
+2
-2
@@ -4,14 +4,14 @@ endif
|
||||
|
||||
CXX=g++
|
||||
CXXFLAGS=@CXXFLAGS@
|
||||
INCLUDES=@INCLUDES@
|
||||
INCLUDES=@INCLUDES@ -I..
|
||||
LIBS=@LIBS@
|
||||
VPATH=.:..
|
||||
OBJS=$(addsuffix .o, $(basename $(wildcard *.cpp)))
|
||||
SRCS=$(wildcard *.cpp) $(wildcard ../*.cpp)
|
||||
|
||||
|
||||
all: $(addsuffix .so, $(basename $(wildcard *.cpp)))
|
||||
all: $(OBJS) $(addsuffix .so, $(basename $(wildcard *.cpp)))
|
||||
|
||||
depend::
|
||||
g++ -M $(CXXFLAGS) $(SRCS) $(INCLUDES) >.depend
|
||||
|
||||
Reference in New Issue
Block a user