1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:08:11 +00:00
serenity/Base/home/anon/Source/little/Makefile
Itamar e318a3d3d4 little: Remove "-Os" compile flag
This flag made gcc generate location info of type "location_list" for
'my_struct', which we do not yet support in LibDebug.
2021-01-09 10:55:46 +01:00

17 lines
220 B
Makefile

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