Skip to content

Commit 77ffb39

Browse files
committed
Update Makefile
1 parent 9747a5c commit 77ffb39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hw1/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
CXX = g++
2-
CFLAGS = -Wall -g -std=c++17
1+
CXX = g++
2+
CXXFLAGS = -Wall -g -std=c++17
33

44
PROGS = hw1
55

66
all: $(PROGS)
77

88
%: %.cpp
9-
$(CXX) -o $@ $(CFLAGS) $< $(LDFLAGS)
9+
$(CXX) -o $@ $(CXXFLAGS) $<
1010

1111
.PHONY: clean test
1212

0 commit comments

Comments
 (0)