1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:37:34 +00:00
serenity/DevTools/IPCCompiler/Makefile
Andreas Kling aa8a3d4a89 IPCCompiler: Start working on a simple IPC definition language
Instead of doing everything manually in C++, let's do some codegen.
This patch adds a crude but effective IPC definition parser, along
with two initial definition files for the AudioServer's client and
server endpoints.
2019-08-03 15:17:41 +02:00

34 lines
900 B
Makefile

PROGRAM = IPCCompiler
OBJS = \
main.o \
../../AK/String.o \
../../AK/StringImpl.o \
../../AK/StringBuilder.o \
../../AK/StringView.o \
../../AK/JsonObject.o \
../../AK/JsonValue.o \
../../AK/JsonArray.o \
../../AK/JsonParser.o \
../../AK/LogStream.o \
../../Libraries/LibCore/CIODevice.o \
../../Libraries/LibCore/CFile.o \
../../Libraries/LibCore/CObject.o \
../../Libraries/LibCore/CEvent.o \
../../Libraries/LibCore/CSocket.o \
../../Libraries/LibCore/CLocalSocket.o \
../../Libraries/LibCore/CNotifier.o \
../../Libraries/LibCore/CEventLoop.o
all: $(PROGRAM)
CXXFLAGS = -std=c++17 -Wall -Wextra -ggdb3
%.o: %.cpp
$(PRE_CXX) $(CXX) $(CXXFLAGS) -I../ -I../../ -I../../Libraries/ -o $@ -c $<
$(PROGRAM): $(OBJS)
$(CXX) $(LDFLAGS) -I../ -I../../ -I../../Libraries/ -o $(PROGRAM) $(OBJS)
clean:
rm -f $(PROGRAM) $(OBJS)