Skip to content

Commit cf3a59a

Browse files
killenheladagengithub-actions
authored and
github-actions
committed
Allow log be directed to stdout instead of syslog
* Allow log be directed to stdout instead of syslog * Add timestamp to stdout log lines * Move documentation to source code
1 parent a7ba8c7 commit cf3a59a

File tree

5 files changed

+217
-109
lines changed

5 files changed

+217
-109
lines changed

app/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
PROG1 = dockerdwrapperwithcompose
2-
OBJS1 = $(PROG1).o sd_disk_storage.o
1+
PROG1 = dockerdwrapper
2+
OBJS1 = $(PROG1).o log.o sd_disk_storage.o
33

44
PKGS = gio-2.0 glib-2.0 axparameter axstorage
55
CFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --cflags $(PKGS))
@@ -15,6 +15,7 @@ all: $(PROG1)
1515
$(PROG1): $(OBJS1)
1616
$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) $(LDLIBS) -o $@
1717

18+
$(PROG1).o log.o: log.h
1819
$(PROG1).o sd_disk_storage.o: sd_disk_storage.h
1920

2021
clean:

0 commit comments

Comments
 (0)