summaryrefslogtreecommitdiff
path: root/Makefile
blob: c8c49e98d73d24801c2668cab938f832a7d05fcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CROSS_COMPILE ?=

CC	:= $(CROSS_COMPILE)gcc
CFLAGS	?= -O2 -W -Wall
LDFLAGS	?=

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

all: yavta

yavta: yavta.o
	$(CC) $(LDFLAGS) -o $@ $^

clean:
	-rm -f *.o
	-rm -f yavta