]> git.stg.codes - stg.git/blobdiff - projects/sgconf/Makefile
Use separate etst files for subsystems.
[stg.git] / projects / sgconf / Makefile
index e2fb8c1bf9b8857cc06902108541154c70589476..52a70ae8fdc49d569985f02500cc188c2d36c2e0 100644 (file)
@@ -8,14 +8,16 @@ PROG = sgconf
 
 SRCS = ./main.cpp \
        ./options.cpp \
 
 SRCS = ./main.cpp \
        ./options.cpp \
+       ./api_action.cpp \
        ./actions.cpp \
        ./admins.cpp \
        ./tariffs.cpp \
        ./users.cpp \
        ./actions.cpp \
        ./admins.cpp \
        ./tariffs.cpp \
        ./users.cpp \
+       ./services.cpp \
+       ./corps.cpp \
        ./xml.cpp
 
        ./xml.cpp
 
-STGLIBS = conffiles \
-          srvconf \
+STGLIBS = srvconf \
           crypto \
           common
 
           crypto \
           common
 
@@ -62,11 +64,7 @@ $(PROG): $(OBJS)
        $(CXX) $^ $(LDFLAGS) $(LIBS) -o $(PROG)
 
 clean:
        $(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
        $(MAKE) -C $(DIR_LIBSRC) clean
 
 distclean: clean