]> git.stg.codes - stg.git/blobdiff - projects/sgconf/Makefile
Some refactoring.
[stg.git] / projects / sgconf / Makefile
index c5f3e4bf0309dc39b4e34924dd5fa6931f09cc3e..fd012fc40f1033e325b90ea30f4a6abae3ec4ade 100644 (file)
@@ -7,16 +7,16 @@ include ../../Makefile.conf
 PROG = sgconf
 
 SRCS = ./main.cpp \
-       ./common_sg.cpp \
        ./options.cpp \
        ./actions.cpp \
        ./admins.cpp \
        ./tariffs.cpp \
        ./users.cpp \
+       ./services.cpp \
+       ./corps.cpp \
        ./xml.cpp
 
-STGLIBS = conffiles \
-          srvconf \
+STGLIBS = srvconf \
           crypto \
           common
 
@@ -63,11 +63,7 @@ $(PROG): $(OBJS)
        $(CXX) $^ $(LDFLAGS) $(LIBS) -o $(PROG)
 
 clean:
-       rm -f deps $(PROG) *.o tags *.*~ .OS
-       rm -f .OS
-       rm -f .store
-       rm -f .db.sql
-       rm -f core*
+       rm -f deps $(PROG) *.o
        $(MAKE) -C $(DIR_LIBSRC) clean
 
 distclean: clean