Skip to content

Commit 49c35f2

Browse files
Simplify compile flags in Makefile
Removed redundant include and library paths from compile flags.
1 parent 0de458b commit 49c35f2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • examples/tutorials/03-memory-channel

examples/tutorials/03-memory-channel/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ endif
1212

1313
TARGET = bidir_memory_channel
1414
SRC = bidir_memory_channel.cu
15-
COMPILE_FLAG := -I$(PWD)/../../../include/ -I$(PWD)/../../../build/include -L$(PWD)/../../../build/lib/
1615

1716
all: $(TARGET)
1817

1918
$(TARGET): $(SRC)
20-
$(COMPILER) $(ARCH_FLAG) $(COMPILE_FLAG) -o $@ $< -lmscclpp
19+
$(COMPILER) $(ARCH_FLAG) -o $@ $< -lmscclpp
2120

2221
clean:
2322
rm -f $(TARGET)

0 commit comments

Comments
 (0)