summaryrefslogtreecommitdiff
path: root/euler/makefile
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-07-31 19:53:02 -0400
committerBenji Dial <benji@benjidial.net>2024-07-31 19:53:02 -0400
commitcc9a1811fd93971ae8c0d3bdc8d60102ce58556e (patch)
tree9430cab5514959dc6c5b2122040aab1453debf51 /euler/makefile
parente6915fb6dd715e39e37702a6d69c220c0f1798bf (diff)
downloadhilbert-os-cc9a1811fd93971ae8c0d3bdc8d60102ce58556e.tar.gz
redo build system
Diffstat (limited to 'euler/makefile')
-rw-r--r--euler/makefile26
1 files changed, 0 insertions, 26 deletions
diff --git a/euler/makefile b/euler/makefile
deleted file mode 100644
index 7574dea..0000000
--- a/euler/makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-LIBC_SOURCES = \
- entry.cpp std/string.cpp std/cstring.cpp syscall.cpp std/cstdlib.cpp \
- heap.cpp syscall.asm std/cctype.cpp std/cstdio.cpp stream.cpp std/ctime.cpp
-
-clean:
- rm -rf build
-
-build/%.asm.o: source/%.asm
- @mkdir -p $(@D)
- $(HILBERT_NASM) $^ -o $@
-
-build/%.cpp.o: source/%.cpp
- @mkdir -p $(@D)
- $(HILBERT_CC) -ffreestanding -c $^ -o $@
-
-build/crt0.o: build/empty.asm.o
- cp $^ $@
-
-build/libc.a: ${LIBC_SOURCES:%=build/%.o}
- $(HILBERT_AR) rcs $@ $^
-
-build/libg.a: build/empty.asm.o
- $(HILBERT_AR) rcs $@ $^
-
-build/libm.a: build/empty.asm.o
- $(HILBERT_AR) rcs $@ $^