Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 07c28b2

Browse files
Merge pull request #7 from arpitparmar5739/master
fix makefile
2 parents 4ae7e7f + 9eae03b commit 07c28b2

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

‎makefile

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
# the compiler: gcc for C program, define as g++ for C++
2-
CC = g++
3-
4-
# compiler flags:
5-
# -g - this flag adds debugging information to the executable file
6-
# -Wall - this flag is used to turn on most compiler warnings
7-
CFLAGS = -Wall
8-
9-
# The build target
10-
TARGET = kmeans
11-
12-
all: $(TARGET)
13-
14-
$(TARGET): $(TARGET).cpp
15-
$(CC) $(CFLAGS) -o $(TARGET) $(TARGET).cpp
16-
17-
clean:
18-
$(RM) $(TARGET)
2+
CC = g++
3+
4+
# The build target
5+
TARGET = kmeans
6+
7+
all: $(TARGET)
8+
9+
$(TARGET): $(TARGET).cpp
10+
$(CC) $(CFLAGS) -o $(TARGET) $(TARGET).cpp
11+
12+
clean:
13+
$(RM) $(TARGET)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /