blob: fff2469067979a9834dee63e6a9f0fbe91404b30 (
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
|
.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=
all: file
clean:
rm -f file *.o
file: file.o
file.o: file.c
$(CC) $(CFLAGS) -c file.c
file: magic.o
magic.o: magic.c
$(CC) $(CFLAGS) -c magic.c
file:
$(LD) $(LDFLAGS) -o $@ *.o
|