summaryrefslogtreecommitdiff
path: root/userland/test/Makefile
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-30 23:34:32 +0100
committerAnton Kling <anton@kling.gg>2023-10-31 00:18:38 +0100
commit352c4542e4064e821d30db875e82904ef44b1c92 (patch)
tree6d40dd0fb7cf6dfd6765b83b6e8c505bf4a471c7 /userland/test/Makefile
parent6c0e142409d57c11fc03bcbc3d79a4d646f885ff (diff)
Meta: Fix build scripts to work on debian
Diffstat (limited to 'userland/test/Makefile')
-rw-r--r--userland/test/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/userland/test/Makefile b/userland/test/Makefile
index 0e3b495..76cf844 100644
--- a/userland/test/Makefile
+++ b/userland/test/Makefile
@@ -1,12 +1,10 @@
CC="i686-sb-gcc"
CFLAGS = -O2 -Wall -Wextra -pedantic -Wimplicit-fallthrough -static
-LIB=-L../json -L../json/hashmap -ljson -lhashmap
-INC=-I../json/
BINS=test
all: $(BINS)
test.o: test.c
- $(CC) $(CFLAGS) $(INC) $(LIB) -o $@ -c $<
+ $(CC) $(CFLAGS) -o $@ -c $<
test: test.o
$(CC) $(CFLAGS) -o $@ $^ $(LIB)