mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
Move common Application build steps into their own Makefile.common
Further consolidation is of course possible, eg the Games/ programs follow the same rules more or less.
This commit is contained in:
parent
8247dad540
commit
f0a6b42066
13 changed files with 26 additions and 180 deletions
|
@ -9,18 +9,4 @@ OBJS = \
|
|||
|
||||
APP = ProcessManager
|
||||
|
||||
DEFINES += -DUSERLAND
|
||||
|
||||
all: $(APP)
|
||||
|
||||
$(APP): $(OBJS)
|
||||
$(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -lcore -lc
|
||||
|
||||
.cpp.o:
|
||||
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
|
||||
|
||||
-include $(OBJS:%.o=%.d)
|
||||
|
||||
clean:
|
||||
@echo "CLEAN"; rm -f $(APP) $(OBJS) *.d
|
||||
|
||||
include ../Makefile.common
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue