sortix-mirror/mkinitrd/Makefile
Jonas 'Sortie' Termansen 25a988442e Support filtering paths in the mkinitrd program.
This will allow initrds to omit certain files, such as other initrds,
irrelevant files, iles for another platform, and so on. This will be useful
when initrd contain entire system roots.
2013-09-24 17:09:48 +02:00

19 lines
307 B
Makefile

SORTIXKERNEL=../sortix
LIBC=../libc
CPPFLAGS=-I../sortix/include
CXXFLAGS=-g -Wall -Wextra
BINARIES=mkinitrd initrdfs
all: $(BINARIES)
%: %.cpp crc32.cpp rules.cpp $(LIBC)/ioleast.cpp
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $< crc32.cpp rules.cpp $(LIBC)/ioleast.cpp -o $@
clean:
rm -f $(BINARIES)
install: