Compare commits

..

No commits in common. "7fe298d6f0808a81be3d9174a6cb79911ccd8afe" and "203cca8dffe0b786d9daac74c6fe9c1f81fdda12" have entirely different histories.

3 changed files with 4 additions and 40 deletions

2
.gitignore vendored
View File

@ -1,2 +0,0 @@
build
obj

View File

@ -1,34 +0,0 @@
SRCDIR = src
OBJDIR = obj
BUILDDIR = build
SRC := $(wildcard $(SRCDIR)/**/*.c)
OBJ := $(patsubst $(SRCDIR)/%.c,$(OBJDIR)/%.o,$(SRC))
CC = gcc
CFLAGS = -iquoteheaders -c
AR = ar
ARFLAGS =
NAME = libbozo.a
$(OBJDIR)/%.o: $(SRCDIR)/%.c
mkdir -p $(dir $@)
$(CC) $(CFLAGS) $< -o $@
all : $(NAME)
clean :
rm -rf $(OBJDIR)
fclean : clean
rm -rf $(BUILDDIR)
$(NAME) : $(OBJ)
mkdir -p $(BUILDDIR)
$(AR) -rc $(BUILDDIR)/$(NAME) $(OBJ)
re: fclean all
.PHONY: clean fclean test all re

View File

@ -1,7 +1,7 @@
#include "kprint.h" #include "../../headers/kprint.h"
#include "string.h" #include "../../headers/string.h"
#include "terminal.h" #include "../../headers/terminal.h"
#include "ctype.h" #include "../../headers/ctype.h"
#include <stdarg.h> #include <stdarg.h>