summaryrefslogtreecommitdiff
path: root/qstd
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-01-11 10:52:50 +1100
committerquou <quou@disroot.org>2025-01-11 10:52:50 +1100
commit64b32afb4e1fed0259b67a47e8b8ff30e4e20635 (patch)
tree9213d13fcf361065e9ed591faff483e48527413a /qstd
parent622e634e1cfd55dd875979a1f109a804d3dbe7ee (diff)
use a generated makefile instead of handwritten ones
Diffstat (limited to 'qstd')
-rw-r--r--qstd/Makefile31
1 files changed, 0 insertions, 31 deletions
diff --git a/qstd/Makefile b/qstd/Makefile
deleted file mode 100644
index 7e3f0f1..0000000
--- a/qstd/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-.POSIX:
-target = libqstd.a
-includes = -I../qstd
-defines = -Dplat_x86 -Dplat_posix -Dallocation_default_alignment=8
-cflags = -std=gnu90 -pedantic -Wall -Wextra $(DEBUG_COMPILE_FLAG) $(includes) $(defines)
-lflags = $(DEBUG_LINK_FLAG)
-
-objects = plat.o memory.o str.o pack.o
-
-.PHONY: all clean
-
-all: $(target)
-
-memory.o: memory.c memory.h plat.h
- $(CC) -c $(cflags) memory.c -o memory.o
-
-plat.o: plat.c plat.h
- $(CC) -c $(cflags) plat.c -o plat.o
-
-str.o: str.c str.h memory.h
- $(CC) -c $(cflags) str.c -o str.o
-
-pack.o: pack.c pack.h str.h plat.h memory.h
- $(CC) -c $(cflags) pack.c -o pack.o
-
-$(target): $(objects)
- $(AR) -rcs $(target) $(objects)
-
-clean:
- rm -f $(target)
- rm -f $(objects)