blob: 827c8b0f5299ea8c93efaa117df6e05578006cd2 [file] [log] [blame]
CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
CFLAGS ?= -O2 -W -Wall -Iinclude
LDFLAGS ?=
LIBS := -lrt
%.o : %.c
$(CC) $(CFLAGS) -c -o $@ $<
all: yavta
yavta: yavta.o
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
clean:
-rm -f *.o
-rm -f yavta