ladybird/Widgets/Makefile

44 lines
800 B
Makefile
Raw Normal View History

2018-10-10 13:12:38 +00:00
PROGRAM = test
AK_OBJS = \
../AK/String.o \
../AK/StringImpl.o \
../AK/SimpleMalloc.o \
../AK/kmalloc.o
VFS_OBJS = \
AbstractScreen.o \
FrameBufferSDL.o \
EventLoop.o \
EventLoopSDL.o \
Object.o \
Widget.o \
RootWidget.o \
2018-10-10 14:49:36 +00:00
ColorSDL.o \
Painter.o \
Label.o \
2018-10-10 23:48:09 +00:00
Button.o \
2018-10-11 00:50:08 +00:00
TerminalWidget.o \
2018-10-11 14:52:40 +00:00
WindowManager.o \
2018-10-10 13:12:38 +00:00
test.o
OBJS = $(AK_OBJS) $(VFS_OBJS)
CXXFLAGS = -std=c++17 -O0 -W -Wall -Wextra -Wconversion -I. -I.. -g `sdl2-config --cflags`
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) $(LDFLAGS) -o $@ $(OBJS)