summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2023-12-17 11:10:04 -0500
committerFreya Murphy <freya@freyacat.org>2023-12-17 11:10:04 -0500
commite0eacfa9773c83850ed5169d1e889ff845180581 (patch)
tree9f8bb433404ce7e4dda1b86ca4dd5d5a2fba10e9 /Makefile
parentsnbt (diff)
downloadnbtvis-e0eacfa9773c83850ed5169d1e889ff845180581.tar.gz
nbtvis-e0eacfa9773c83850ed5169d1e889ff845180581.tar.bz2
nbtvis-e0eacfa9773c83850ed5169d1e889ff845180581.zip
refactorHEADmain
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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