create project structure

This commit is contained in:
gandc committed 2024-11-23 18:47:32 +03:00
1 parent 75f3e942e6
commit 15c07a898b
13 files changed
+221

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
CC = gcc
CFLAGS = -Wall -g
LDFLAGS = -lm
LIBS = -lmysyslog -lmysyslog-text -lmysyslog-json
all: mysyslog-client
mysyslog-client: src/mysyslog-client.o
$(CC) -o $@ $^ $(LIBS)
clean:
rm -f src/*.o mysyslog-client
deb:
# Deb package building logic
.PHONY: all clean deb