From ce7f2c194888d91e52e05cb8acff45032ca122ad Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 14 Jan 2020 11:52:42 -0500 Subject: rebuild with more readable spacing and explicit build steps --- Makefile | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index faf3d3b..0294f48 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,34 @@ .POSIX: + # This Makefile was generated by maje # See https://gitlab.com/jkaivo/maje/ for more information # Do not edit this Makefile by hand + default: all + CC=c99 CFLAGS=-Wall -Wextra -Wpedantic -Werror -g + all: maje + clean: rm -f maje *.o -make.o: make.c + maje: make.o -sources.o: sources.c +make.o: make.c + $(CC) $(CFLAGS) -c make.c + maje: sources.o -main.o: main.c +sources.o: sources.c + $(CC) $(CFLAGS) -c sources.c + maje: main.o -maje.o: maje.c +main.o: main.c + $(CC) $(CFLAGS) -c main.c + maje: maje.o +maje.o: maje.c + $(CC) $(CFLAGS) -c maje.c + maje: $(CC) -o $@ *.o -- cgit v1.2.1