From e0eacfa9773c83850ed5169d1e889ff845180581 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sun, 17 Dec 2023 11:10:04 -0500 Subject: refactor --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9613a70..138719b 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,12 @@ BIN = bin OUT = $(BIN)/out INS = /usr/local/bin/nbtvis -SRC = $(shell find src -type f -name "*.c") +SRC = $(shell find src -type f -name "*.c") +SRC += $(shell find lib -type f -name "*.c") +SRC += $(shell find nbt -type f -name "*.c") OBJ = $(patsubst %.c,$(BIN)/%.o, $(SRC)) -CCFLAGS = -Isrc -std=c2x -Wall -Wextra -pedantic -O0 -g +CCFLAGS = -Isrc -Ilib -Inbt -std=c2x -Wall -Wextra -pedantic -O0 -g LDFLAGS = CC = gcc -- cgit v1.2.3-freya