Merge branch 'master' of github.com:zawwz/lxsh into master
This commit is contained in:
commit
fd19eab3db
1 changed files with 11 additions and 11 deletions
4
Makefile
4
Makefile
|
|
@ -9,7 +9,7 @@ BINDIR=.
|
||||||
NAME = $(shell readlink -f . | xargs basename)
|
NAME = $(shell readlink -f . | xargs basename)
|
||||||
|
|
||||||
# global links
|
# global links
|
||||||
LDFLAGS = -Wl,--no-as-needed -lpthread
|
LDFLAGS = -lpthread
|
||||||
|
|
||||||
# compiler
|
# compiler
|
||||||
CC=g++
|
CC=g++
|
||||||
|
|
@ -50,7 +50,7 @@ $(ODIR)/%.o: $(SRCDIR)/%.cpp $(DEPS)
|
||||||
$(CC) $(CXXFLAGS) -c -o $@ $<
|
$(CC) $(CXXFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
$(BINDIR)/$(NAME): $(OBJ)
|
$(BINDIR)/$(NAME): $(OBJ)
|
||||||
$(CC) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
|
$(CC) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
|
||||||
|
|
||||||
test: $(BINDIR)/$(NAME)
|
test: $(BINDIR)/$(NAME)
|
||||||
$(BINDIR)/$(NAME)
|
$(BINDIR)/$(NAME)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue