ladybird/Servers/AudioServer/Makefile
joshua stein b624eaaf78 Build: consider IPCCOMPILER and FORMCOMPILER just for ordering
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.
2019-12-28 21:09:33 +01:00

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