mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
bb28c31531
Instead just create a GraphicsBitmap wrapper around the display framebuffer and teach Painter how to draw directly into a GraphicsBitmap.
50 lines
917 B
Makefile
50 lines
917 B
Makefile
PROGRAM = test
|
|
|
|
AK_OBJS = \
|
|
../AK/String.o \
|
|
../AK/StringImpl.o \
|
|
../AK/SimpleMalloc.o \
|
|
../AK/kmalloc.o
|
|
|
|
VFS_OBJS = \
|
|
AbstractScreen.o \
|
|
FrameBuffer.o \
|
|
EventLoop.o \
|
|
Rect.o \
|
|
Object.o \
|
|
Widget.o \
|
|
Color.o \
|
|
Painter.o \
|
|
Label.o \
|
|
Button.o \
|
|
WindowManager.o \
|
|
Font.o \
|
|
Window.o \
|
|
ClockWidget.o \
|
|
CharacterBitmap.o \
|
|
CheckBox.o \
|
|
ListBox.o \
|
|
TextBox.o \
|
|
MsgBox.o \
|
|
GraphicsBitmap.o \
|
|
test.o
|
|
|
|
OBJS = $(AK_OBJS) $(VFS_OBJS)
|
|
|
|
CXXFLAGS = -std=c++17 -O0 -W -Wall -Wextra -Wconversion -I. -I.. -ggdb3 `sdl2-config --cflags` -DUSE_SDL
|
|
|
|
LDFLAGS = `sdl2-config --libs`
|
|
|
|
#test.o: BlockDevice.h FileBackedBlockDevice.h FileSystem.h Ext2FileSystem.h VirtualFileSystem.h FileHandle.h
|
|
|
|
all: $(PROGRAM)
|
|
|
|
.cpp.o:
|
|
$(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(PROGRAM)
|
|
|
|
$(PROGRAM): $(OBJS)
|
|
$(CXX) -o $@ $(OBJS) $(LDFLAGS)
|
|
|