summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--Makefile.musl1
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cad5c0b..1cd5cc8 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ CFLAGS ?= -std=c11 -Wall -g
DESTDIR ?= /usr/local/bin
+all: lolcat-static censor-static
+
include Makefile.musl
ifeq ($(shell uname -s),Darwin)
@@ -13,9 +15,7 @@ ifeq ($(shell uname -s),Darwin)
CFLAGS += -Imemorymapping/src
endif
-all: lolcat-static censor-static
-
-.PHONY: install clean musl static
+.PHONY: install clean static
static: lolcat-static censor-static
diff --git a/Makefile.musl b/Makefile.musl
index 1f19ea0..d50de24 100644
--- a/Makefile.musl
+++ b/Makefile.musl
@@ -23,5 +23,6 @@ musl/lib/libc.a musl/lib/crt1.o: musl/config.mak
musl/config.mak:
cd musl; ./configure
+.PHONY: musl
musl: musl/lib/libc.a musl/lib/crt1.o