about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorlatex <latex@disroot.org>2023-02-11 02:01:21 +0100
committerlatex <latex@disroot.org>2023-02-11 02:01:21 +0100
commit82ca959ff701832e96c869161adc5e179c2201dd (patch)
tree3a819f5b26cfd3703a229eaf2ea187c3fa60a0ef /tests
parent79c59f93b7461082cf4aec3025257560fc788c69 (diff)
downloadlibumumble-82ca959ff701832e96c869161adc5e179c2201dd.tar.gz
restructure include and fix makefiles HEAD master
* restructed include/ to have a umumble folder
* fix the makefile to use the new include structure
* tests makefile now builds inside root build folder
* added TODO list for shit I gotta do
* laid groundwork for packet parsing/packing: mumble_packet_gen_header
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile3
-rw-r--r--tests/test.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 95a146b..b6ee873 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,4 +1,5 @@
 include ../config.mk
+BUILD_DIR = $(BUILD_DIR_TESTS)
 INCLUDES = -I../include
 
 SRC = $(shell find -type f -name '*.c')
@@ -7,7 +8,7 @@ BIN = $(SRC:%.c=%)
 LDLIBS := -l:libumumble.a $(LDLIBS)
 LDFLAGS += -L..
 
-.PHONY: all
+.PHONY: all clean
 
 all: $(BIN)
 
diff --git a/tests/test.c b/tests/test.c
index 1c673a0..848ec38 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -1,4 +1,4 @@
-#include <libumumble.h>
+#include <umumble/umumble.h>
 
 int main(int argc, char *argv[])
 {