diff options
author | jaseg <code@jaseg.net> | 2016-10-27 12:41:14 +0200 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2016-10-27 12:41:14 +0200 |
commit | 6a73fba1b7e33badfe3d6f7f749bc87e500a39a5 (patch) | |
tree | eb288fe6108f6b616dcdd3d71eb0c8d5465e858f | |
parent | 33ee4401072f145fceee8bc2d67501c7a9724341 (diff) | |
download | lolcat-6a73fba1b7e33badfe3d6f7f749bc87e500a39a5.tar.gz lolcat-6a73fba1b7e33badfe3d6f7f749bc87e500a39a5.tar.bz2 lolcat-6a73fba1b7e33badfe3d6f7f749bc87e500a39a5.zip |
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.
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |