summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-01-14 11:52:42 -0500
committerJakob Kaivo <jkk@ung.org>2020-01-14 11:52:42 -0500
commitce7f2c194888d91e52e05cb8acff45032ca122ad (patch)
treecb9e4d361301e3f9e3360bcedbc7d182bc07fca8
parentd39c5014e6b64e1f6d13d466cb7b3dbeb57880c5 (diff)
rebuild with more readable spacing and explicit build steps
-rw-r--r--Makefile22
1 files changed, 18 insertions, 4 deletions
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