mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
61a84193d7
It's still lagging behind the metal environment but here's some work towards fixing it at least.
44 lines
850 B
Makefile
44 lines
850 B
Makefile
PROGRAM = test
|
|
|
|
AK_OBJS = \
|
|
../AK/String.o \
|
|
../AK/StringImpl.o \
|
|
../AK/MappedFile.o \
|
|
../AK/TemporaryFile.o \
|
|
../AK/SimpleMalloc.o \
|
|
../AK/StringBuilder.o \
|
|
../AK/FileSystemPath.o \
|
|
../AK/kmalloc.o
|
|
|
|
VFS_OBJS = \
|
|
DiskDevice.o \
|
|
FileBackedDiskDevice.o \
|
|
FileSystem.o \
|
|
Ext2FileSystem.o \
|
|
VirtualFileSystem.o \
|
|
FileDescriptor.o \
|
|
DiskBackedFileSystem.o \
|
|
SyntheticFileSystem.o \
|
|
InodeIdentifier.o \
|
|
CharacterDevice.o \
|
|
ZeroDevice.o \
|
|
NullDevice.o \
|
|
FullDevice.o \
|
|
RandomDevice.o \
|
|
test.o
|
|
|
|
OBJS = $(AK_OBJS) $(VFS_OBJS)
|
|
|
|
CXXFLAGS = -std=c++17 -O0 -W -Wall -Wextra -Wconversion -I. -I.. -ggdb3 -Wno-class-memaccess
|
|
|
|
all: $(PROGRAM)
|
|
|
|
.cpp.o:
|
|
$(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(PROGRAM)
|
|
|
|
$(PROGRAM): $(OBJS)
|
|
$(CXX) $(LDFLAGS) -o $@ $(OBJS)
|
|
|