summaryrefslogtreecommitdiff
path: root/Makefile
blob: 42f869c13ed17c0c7f83f49b2160e25be5e43bda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.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
LD=$(CC)
CFLAGS=-Wall -Wextra -Wpedantic -Werror -g
LDFLAGS=
LDLIBS=

all: maje

clean:
	rm -f maje *.o

maje: includes.o
includes.o: maje.h
includes.o: includes.c
	$(CC) $(CFLAGS) -c includes.c

maje: list.o
list.o: maje.h
list.o: list.c
	$(CC) $(CFLAGS) -c list.c

maje: main.o
main.o: maje.h
main.o: main.c
	$(CC) $(CFLAGS) -c main.c

maje: maje.o
maje.o: maje.h
maje.o: maje.c
	$(CC) $(CFLAGS) -c maje.c

maje: make.o
make.o: maje.h
make.o: make.c
	$(CC) $(CFLAGS) -c make.c

maje: sources.o
sources.o: maje.h
sources.o: sources.c
	$(CC) $(CFLAGS) -c sources.c

maje:
	$(LD) $(LDFLAGS) -o $@ *.o $(LDLIBS)