mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:47:35 +00:00

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.
37 lines
826 B
Makefile
37 lines
826 B
Makefile
OBJS = \
|
|
WSEventLoop.o \
|
|
WSWindow.o \
|
|
WSWindowManager.o \
|
|
WSScreen.o \
|
|
WSMenuBar.o \
|
|
WSMenu.o \
|
|
WSMenuItem.o \
|
|
WSClientConnection.o \
|
|
WSWindowSwitcher.o \
|
|
WSClipboard.o \
|
|
WSCursor.o \
|
|
WSWindowFrame.o \
|
|
WSButton.o \
|
|
WSCompositor.o \
|
|
WSMenuManager.o \
|
|
main.o
|
|
|
|
PROGRAM = WindowServer
|
|
|
|
LIB_DEPS = Draw Core Thread Pthread IPC
|
|
|
|
*.cpp: WindowServerEndpoint.h WindowClientEndpoint.h
|
|
|
|
WindowServerEndpoint.h: WindowServer.ipc | IPCCOMPILER
|
|
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
|
|
|
WindowClientEndpoint.h: WindowClient.ipc | IPCCOMPILER
|
|
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
|
|
|
EXTRA_CLEAN = WindowServerEndpoint.h WindowClientEndpoint.h
|
|
|
|
install:
|
|
mkdir -p ../../Root/usr/include/WindowServer/
|
|
cp *.h ../../Root/usr/include/WindowServer/
|
|
|
|
include ../../Makefile.common
|