Fix some stuff committed in previous.
--HG-- extra : convert_revision : a0daf5c9d6bf623d3a35c5e2195cc7adaa3ed753
This commit is contained in:
parent
61f0b09698
commit
7e48132dde
|
@ -8,7 +8,7 @@ all: $(BIN)
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(CC) -g $(LDFLAGS) $^ -o $@
|
$(CC) $(LDFLAGS) $^ -o $@
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean: clean-bins clean-objs
|
clean: clean-bins clean-objs
|
||||||
|
|
2
vars.mk
2
vars.mk
|
@ -6,7 +6,7 @@ LIBDIR ?= $(PREFIX)/lib
|
||||||
ETCDIR ?= $(PREFIX)/etc
|
ETCDIR ?= $(PREFIX)/etc
|
||||||
TOPDIR ?= ..
|
TOPDIR ?= ..
|
||||||
|
|
||||||
LDFLAGS += -L$(TOPDIR)/lib -L$(PREFIX) -lxbps
|
LDFLAGS += -L$(TOPDIR)/lib -L$(PREFIX)/lib -lxbps
|
||||||
CPPFLAGS += -I$(TOPDIR)/include
|
CPPFLAGS += -I$(TOPDIR)/include
|
||||||
CFLAGS += -Wstack-protector -fstack-protector-all
|
CFLAGS += -Wstack-protector -fstack-protector-all
|
||||||
CFLAGS += -O2 -Wall -Werror -fPIC -DPIC
|
CFLAGS += -O2 -Wall -Werror -fPIC -DPIC
|
||||||
|
|
Loading…
Reference in New Issue
Block a user