aboutsummaryrefslogtreecommitdiff
path: root/tests/neon/Makefile
blob: 503be80b0a9f846904ceb657e4c203650fc7cd90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
APP=neon
CFLAGS=-std=c11 -O2 -W -Wall -Wextra -Werror -pedantic -march=native -mtune=native
OBJS=neon.o

.PHONY=all clean test

all: $(APP)

test: all
	./neon

$(APP): $(OBJS)
	$(CC) $(CFLAGS) -o $(APP) $(OBJS)

%.o: %.c
	$(CC) $(CFLAGS) -c $<

clean:
	$(RM) -f $(APP) $(OBJS)