diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5c9cc68 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 + |