fixed some style issues.

This commit is contained in:
2026-07-21 13:32:06 -05:00
parent 9badfb3040
commit e2f5b8624d
5 changed files with 36 additions and 13 deletions

18
makefile Normal file
View File

@@ -0,0 +1,18 @@
.POSIX:
# Compiler and archiver definitions
CC = cc
AR = ar
CFLAGS = -O2 -I./source_code
# Targets
all: liblog.a
source_code/log.o: source_code/log.c source_code/log.h
$(CC) $(CFLAGS) -c source_code/log.c -o source_code/log.o
liblog.a: source_code/log.o
$(AR) -rc liblog.a source_code/log.o
clean:
rm -f source_code/log.o liblog.a