mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-09 01:56:21 +00:00
Since it's used both by CGzip and PNGLoader, it seems most appropriate to keep this in LibCore.
36 lines
695 B
Makefile
36 lines
695 B
Makefile
include ../../Makefile.common
|
|
|
|
OBJS = \
|
|
PSClientConnection.o \
|
|
Protocol.o \
|
|
Download.o \
|
|
HttpProtocol.o \
|
|
HttpDownload.o \
|
|
main.o
|
|
|
|
APP = ProtocolServer
|
|
|
|
DEFINES += -DUSERLAND
|
|
|
|
all: $(APP)
|
|
|
|
*.cpp: ProtocolServerEndpoint.h ProtocolClientEndpoint.h
|
|
|
|
ProtocolServerEndpoint.h: ProtocolServer.ipc
|
|
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
|
|
|
ProtocolClientEndpoint.h: ProtocolClient.ipc
|
|
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
|
|
|
$(APP): $(OBJS)
|
|
$(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lc -lcore -lipc
|
|
|
|
.cpp.o:
|
|
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
-include $(OBJS:%.o=%.d)
|
|
|
|
clean:
|
|
@echo "CLEAN"; rm -f $(APP) $(OBJS) *.d ProtocolClientEndpoint.h ProtocolServerEndpoint.h
|
|
|