diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-01-14 11:52:42 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-01-14 11:52:42 -0500 |
commit | ce7f2c194888d91e52e05cb8acff45032ca122ad (patch) | |
tree | cb9e4d361301e3f9e3360bcedbc7d182bc07fca8 | |
parent | d39c5014e6b64e1f6d13d466cb7b3dbeb57880c5 (diff) |
rebuild with more readable spacing and explicit build steps
-rw-r--r-- | Makefile | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -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 |