From 8e95919c9fe837ef46ca81d6dc1e24cc685ba197 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 19 Nov 2016 10:28:45 +0100 Subject: Fix make rule order for system-musl builds --- Makefile | 6 +++--- Makefile.musl | 1 + 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 -- cgit