支持多个进程的判断

This commit is contained in:
2021-12-11 13:20:06 +08:00
parent 20d355a0f6
commit 90e7e58cb5
7 changed files with 324 additions and 62 deletions

View File

@@ -5,7 +5,7 @@ CFLAGS += -g -O2 -Wall -I../libconf -L../libconf
LIBS = -lconf -static
OBJ := daemon
all: popen.o main.o
all: conf.o popen.o main.o
$(CC) $(CFLAGS) -o $(OBJ) $^ $(LIBS)
$(STRIP) $(OBJ)
-chmod a+x $(OBJ)