]> git.stg.codes - stg.git/blobdiff - projects/sgconf/Makefile
Simplified module interfaces.
[stg.git] / projects / sgconf / Makefile
index c5f3e4bf0309dc39b4e34924dd5fa6931f09cc3e..52a70ae8fdc49d569985f02500cc188c2d36c2e0 100644 (file)
@@ -7,16 +7,17 @@ include ../../Makefile.conf
 PROG = sgconf
 
 SRCS = ./main.cpp \
-       ./common_sg.cpp \
        ./options.cpp \
+       ./api_action.cpp \
        ./actions.cpp \
        ./admins.cpp \
        ./tariffs.cpp \
        ./users.cpp \
+       ./services.cpp \
+       ./corps.cpp \
        ./xml.cpp
 
-STGLIBS = conffiles \
-          srvconf \
+STGLIBS = srvconf \
           crypto \
           common
 
@@ -63,11 +64,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