Skip to content

Commit f0b50b5

Browse files
committed
Update makefiles
1 parent 3f01310 commit f0b50b5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

baby_rev/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
CXX=g++
2-
CFLAGS=-I.
2+
CXXFLAGS=-I. -std=c++17
33

44
baby_rev: baby_rev.cpp
5-
$(CXX) -o baby_rev baby_rev.cpp
5+
$(CXX) $(CXXFLAGS) -o baby_rev baby_rev.cpp
66

77
clean:
88
$(RM) baby_rev

baby_rev/baby_rev

100644100755
-9.48 KB
Binary file not shown.

buffer_overflow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CFLAGS=-I.
66
# -no-pie: Disables ASLR essentially, loads executable to the same address every time
77
# -Wno-stringop-overflow: Disable complaining about fgets overflow
88
buffer_overflow: buffer_overflow.c
9-
$(CC) -o buffer_overflow buffer_overflow.c -fno-stack-protector -no-pie -Wno-stringop-overflow
9+
$(CC) $(CFLAGS) -o buffer_overflow buffer_overflow.c -fno-stack-protector -no-pie -Wno-stringop-overflow
1010

1111
clean:
1212
$(RM) buffer_overflow

0 commit comments

Comments
 (0)