Compare commits
No commits in common. "7fe298d6f0808a81be3d9174a6cb79911ccd8afe" and "203cca8dffe0b786d9daac74c6fe9c1f81fdda12" have entirely different histories.
7fe298d6f0
...
203cca8dff
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
build
|
|
||||||
obj
|
|
34
Makefile
34
Makefile
@ -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
|
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user