summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2016-11-19 10:28:45 +0100
committerjaseg <code@jaseg.net>2016-11-19 10:28:45 +0100
commit8e95919c9fe837ef46ca81d6dc1e24cc685ba197 (patch)
treecad9dac3ca876bc8691206f32eeb3e2a4974a08a
parent55fe98e4d9a38b470cd9f9bce1bedd9ed15dc3b9 (diff)
downloadlolcat-8e95919c9fe837ef46ca81d6dc1e24cc685ba197.tar.gz
lolcat-8e95919c9fe837ef46ca81d6dc1e24cc685ba197.tar.bz2
lolcat-8e95919c9fe837ef46ca81d6dc1e24cc685ba197.zip
Fix make rule order for system-musl builds
-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