diff options
Diffstat (limited to 'Makefile')
-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 |