about summary refs log tree commit diff stats
path: root/makefile
diff options
context:
space:
mode:
authorRen Kararou <[email protected]>2025-01-26 03:41:25 -0600
committerRen Kararou <[email protected]>2025-01-26 03:41:25 -0600
commit1bcf3de7f521d83185cce580db2dea6d50a617b6 (patch)
treec06850c6c0df9bdc9ca395ecc9ebe67b7c9dfb86 /makefile
parent9ec8d6d9dc03791f6ab1e3ad108c8d705d355696 (diff)
downloadnbtpd-bazel.tar.gz
nbtpd-bazel.tar.bz2
nbtpd-bazel.zip
try bazel bazel
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index a4cec5a..6d8b57c 100644
--- a/makefile
+++ b/makefile
@@ -15,7 +15,7 @@ else
 CFLAGS += -std=c11
 endif
 
-INCLUDES=-Iinc/
+INCLUDES=-Inbtpd/
 
 OBJECTS=obj/main.o obj/packet.o obj/netascii.o obj/handlers.o
 
@@ -37,7 +37,7 @@ bin/%: $(OBJECTS)
 	@if [ ! -d "bin" ]; then mkdir -p bin; fi
 	$(CC) -g $(CFLAGS) $(LDFLAGS) -o bin/nbtpd $^
 
-obj/%.o: src/%.c
+obj/%.o: nbtpd/%.c
 	@if [ ! -d "obj" ]; then mkdir -p obj; fi
 	$(CC) -g -c $(INCLUDES) $(CFLAGS) -o $@ $^