change dir name

This commit is contained in:
2024-11-24 04:48:19 +03:00
parent 5a7a9ad8bb
commit f850b75dfb
3 changed files with 121 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
CC = gcc
CFLAGS = -Wall -Wextra -I../libmysyslog
LDFLAGS = -L../libmysyslog -lmysyslog
TARGET = libmysyslog-client
all: $(TARGET)
$(TARGET): libmysyslog-client.o
$(CC) -o $(TARGET) libmysyslog-client.o $(LDFLAGS)
libmysyslog.o: libmysyslog-client.c
$(cc) $(CFLAGS) -c libmysyslog-client.c
clean:
rm -f $(TARGET) *.o
.PHONY: all clean