Skip to content

Commit

Permalink
debug for makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
YvesZHI committed Jan 11, 2018
1 parent 811ef34 commit c64853d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
g++1x:=g++ -std=c++1y -MMD -MP
cflags:= -Wall -lncurses -static-libstdc++
CFLAGS:= -Wall -static-libstdc++
LDLIBS=-lncurses

TARGET:=matrix.out
SRS:=$(shell find * -type f -name "*.cpp")
Expand All @@ -16,7 +17,7 @@ $(BIN):
@mkdir -p $(BIN);

$(BIN)/$(TARGET): $(OBJ)
$(g++1x) $(cflags) $^ -o $@ -g
$(g++1x) $(CFLAGS) $^ -o $@ -g $(LDLIBS)

$(OBJ): $(OBJDIR)/%.o: %.cpp
@if [ ! -d "$(@D)" ]; then\
Expand Down

0 comments on commit c64853d

Please sign in to comment.