1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 06:47:34 +00:00
serenity/Base/home/anon/Source/little/Makefile
Andreas Kling eed78ffa5a Base: Tweak CXXFLAGS for the "little" test projects
Let's build with -std=c++2a since we're C++20 nowadays. :^)
2020-11-05 10:02:57 +01:00

17 lines
224 B
Makefile

PROGRAM = little
OBJS = main.o other.o
CXXFLAGS = -g -Os -std=c++2a
all: $(PROGRAM)
$(PROGRAM): $(OBJS)
$(CXX) -o $@ $(OBJS)
%.o: %.cpp
$(CXX) $(CXXFLAGS) -o $@ -c $<
clean:
rm $(OBJS) $(PROGRAM)
run:
./$(PROGRAM)