mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
b624eaaf78
Build them if they don't exist, but don't care about them being newer or older than the target. I believe this is what was causing build loops where IPCCompiler was being run a second time, rebuilding its .h file, then a library would depend on that .h file and get re-archived, then an application would need relinking, and something in that whole process would trigger IPCCompiler running again touching its .h file.
26 lines
602 B
Makefile
26 lines
602 B
Makefile
OBJS = \
|
|
main.o \
|
|
ASMixer.o \
|
|
ASClientConnection.o \
|
|
ASEventLoop.o
|
|
|
|
PROGRAM = AudioServer
|
|
|
|
LIB_DEPS = Core IPC Thread Pthread
|
|
|
|
EXTRA_CLEAN = AudioServerEndpoint.h AudioClientEndpoint.h
|
|
|
|
*.cpp: AudioServerEndpoint.h AudioClientEndpoint.h
|
|
|
|
AudioServerEndpoint.h: AudioServer.ipc | IPCCOMPILER
|
|
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
|
|
|
AudioClientEndpoint.h: AudioClient.ipc | IPCCOMPILER
|
|
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
|
|
|
install:
|
|
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/AudioServer/
|
|
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/AudioServer/
|
|
|
|
include ../../Makefile.common
|