Make static build default

The current glibc seems to have a bug in fmemopen leading to a segfault
on fgetwc. Right now, I don't care enough to fix that problem at the source.
This commit is contained in:
jaseg 2016-10-27 12:41:14 +02:00
parent 33ee440107
commit 6a73fba1b7

View file

@ -1,7 +1,7 @@
LOLCAT_SRC := lolcat.c
CENSOR_SRC := censor.c
CFLAGS := -std=c11 -Wall
CFLAGS := -std=c11 -Wall -g
DESTDIR := /usr/local/bin
@ -11,7 +11,7 @@ ifeq ($(shell uname -s),Darwin)
CFLAGS += -Imemorymapping/src
endif
all: lolcat censor
all: lolcat-static censor-static
.PHONY: install clean musl static
@ -38,8 +38,8 @@ censor: $(CENSOR_SRC)
gcc $(CFLAGS) -o $@ $^
install: lolcat censor
install lolcat $(DESTDIR)/
install censor $(DESTDIR)/
install lolcat-static $(DESTDIR)/lolcat
install censor-static $(DESTDIR)/censor
clean:
rm -f lolcat lolcat-static.o lolcat-static censor censor-static.o censor-static