diff options
author | Ren Kararou <[email protected]> | 2025-01-26 03:41:25 -0600 |
---|---|---|
committer | Ren Kararou <[email protected]> | 2025-01-26 03:41:25 -0600 |
commit | 1bcf3de7f521d83185cce580db2dea6d50a617b6 (patch) | |
tree | c06850c6c0df9bdc9ca395ecc9ebe67b7c9dfb86 /makefile | |
parent | 9ec8d6d9dc03791f6ab1e3ad108c8d705d355696 (diff) | |
download | nbtpd-1bcf3de7f521d83185cce580db2dea6d50a617b6.tar.gz nbtpd-1bcf3de7f521d83185cce580db2dea6d50a617b6.tar.bz2 nbtpd-1bcf3de7f521d83185cce580db2dea6d50a617b6.zip |
try bazel bazel
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
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 $@ $^ |