cpp-optimizations/Makefile
Nicolás Ortega Froysa 3c588f9a7d Use object files instead of entire binary.
Makes for less assembly code to look through.
2022-06-15 14:06:43 +02:00

12 lines
191 B
Makefile

CPP=g++
EXEC := 00-const-vars/const.o 00-const-vars/no-const.o 01-inline-functions/inline.o 01-inline-functions/no-inline.o
all: $(EXEC)
%.o: %.cpp
g++ $< -o $@ -c
clean:
$(RM) $(EXEC)