Use object files instead of entire binary.
Makes for less assembly code to look through.
This commit is contained in:
parent
c2ec66c7d4
commit
3c588f9a7d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
# ignore binaries
|
||||
*.exe
|
||||
*.o
|
||||
# ignore object dumps
|
||||
*.dump
|
||||
|
6
Makefile
6
Makefile
@ -1,11 +1,11 @@
|
||||
CPP=g++
|
||||
|
||||
EXEC := 00-const-vars/const.exe 00-const-vars/no-const.exe 01-inline-functions/inline.exe 01-inline-functions/no-inline.exe
|
||||
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)
|
||||
|
||||
%.exe: %.cpp
|
||||
g++ $< -o $@
|
||||
%.o: %.cpp
|
||||
g++ $< -o $@ -c
|
||||
|
||||
clean:
|
||||
$(RM) $(EXEC)
|
||||
|
Loading…
Reference in New Issue
Block a user