mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
c39473157a
This enables useful features such as directories, CRC32 checksums, and other useful features. The initrdfs in the kernel is now hooked up against the new API, although the kernel's current limited FS support is a problem for now. To work around that, directories are not supported at runtime, although the internal API understands them wonderfully. This will be fixed when the kernel gets a real VFS.
18 lines
292 B
Makefile
18 lines
292 B
Makefile
SORTIXKERNEL=../sortix
|
|
LIBMAXSI=../libmaxsi
|
|
|
|
CPPFLAGS=-I../sortix/include
|
|
CXXFLAGS=-Wall
|
|
|
|
BINARIES=mkinitrd initrdfs
|
|
|
|
all: $(BINARIES)
|
|
|
|
%: %.cpp crc32.cpp $(LIBMAXSI)/ioleast.cpp
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $< crc32.cpp $(LIBMAXSI)/ioleast.cpp -o $@
|
|
|
|
clean:
|
|
rm -f $(BINARIES)
|
|
|
|
install:
|
|
|