mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 16:25:06 +00:00

We've been using a per-directory "install.sh" for some time, so let's get rid of the old way of doing things.
19 lines
297 B
Makefile
19 lines
297 B
Makefile
include ../../Makefile.common
|
|
|
|
OBJS = math.o
|
|
|
|
LIBRARY = libm.a
|
|
DEFINES += -DUSERLAND
|
|
|
|
all: $(LIBRARY)
|
|
|
|
$(LIBRARY): $(OBJS)
|
|
@echo "LIB $@"; $(AR) rcs $@ $(OBJS)
|
|
|
|
.cpp.o:
|
|
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
-include $(OBJS:%.o=%.d)
|
|
|
|
clean:
|
|
@echo "CLEAN"; rm -f $(LIBRARY) $(OBJS) *.d
|