~aritra1911/ansi_anim

b597ee749bcf3912e6989579ecd72b96a69a21d1 — Aritra Sarkar 2 years ago 8ca27c8
Rename lib as ansilib
9 files changed, 6 insertions(+), 6 deletions(-)

M Makefile
R lib/inc/ansi/colors.h => ansilib/inc/ansi/colors.h
R lib/inc/ansi/common.h => ansilib/inc/ansi/common.h
R lib/inc/ansi/cursor.h => ansilib/inc/ansi/cursor.h
R lib/inc/graphics/common.h => ansilib/inc/graphics/common.h
R lib/inc/graphics/shapes.h => ansilib/inc/graphics/shapes.h
R lib/src/ansi/cursor.c => ansilib/src/ansi/cursor.c
R lib/src/graphics/common.c => ansilib/src/graphics/common.c
R lib/src/graphics/shapes.c => ansilib/src/graphics/shapes.c
M Makefile => Makefile +6 -6
@@ 1,15 1,15 @@
CC ?= cc

INC = -Iinc -Ilib/inc
INC = -Iinc -Iansilib/inc
LIB =

CFLAGS = $(INC) -Wall -Wextra -pedantic -std=c99
CPPFLAGS =
LDFLAGS =

SRCS = lib/src/graphics/common.c \
       lib/src/graphics/shapes.c \
       lib/src/ansi/cursor.c \
SRCS = ansilib/src/graphics/common.c \
       ansilib/src/graphics/shapes.c \
       ansilib/src/ansi/cursor.c \
       src/main.c

OBJS = obj/graphics/common.o \


@@ 25,11 25,11 @@ bin/anim: $(OBJS)
	@mkdir -p bin
	$(CC) $(LDFLAGS) -o $@ $^

obj/graphics/%.o: lib/src/graphics/%.c
obj/graphics/%.o: ansilib/src/graphics/%.c
	@mkdir -p obj/graphics
	$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<

obj/ansi/%.o: lib/src/ansi/%.c
obj/ansi/%.o: ansilib/src/ansi/%.c
	@mkdir -p obj/ansi
	$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<


R lib/inc/ansi/colors.h => ansilib/inc/ansi/colors.h +0 -0
R lib/inc/ansi/common.h => ansilib/inc/ansi/common.h +0 -0
R lib/inc/ansi/cursor.h => ansilib/inc/ansi/cursor.h +0 -0
R lib/inc/graphics/common.h => ansilib/inc/graphics/common.h +0 -0
R lib/inc/graphics/shapes.h => ansilib/inc/graphics/shapes.h +0 -0
R lib/src/ansi/cursor.c => ansilib/src/ansi/cursor.c +0 -0
R lib/src/graphics/common.c => ansilib/src/graphics/common.c +0 -0
R lib/src/graphics/shapes.c => ansilib/src/graphics/shapes.c +0 -0