diff options
Diffstat (limited to 'ashmemtest-expanded/Makefile')
-rw-r--r-- | ashmemtest-expanded/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ashmemtest-expanded/Makefile b/ashmemtest-expanded/Makefile new file mode 100644 index 0000000..1c53b72 --- /dev/null +++ b/ashmemtest-expanded/Makefile @@ -0,0 +1,15 @@ +# This file is here just to allow compiling the test without full Android setup. + +CROSS_COMPILE = +CC = $(CROSS_COMPILE)gcc +CFLAGS = -O2 -g +FLEX = flex + +ashmemtest-expanded: ashmemtest-expanded.c + $(CC) $(CFLAGS) -I. -o $@ $< + +ashmemtest-expanded.c: ashmemtest-expanded.l + $(FLEX) -o $@ $< + +clean: + $(RM) ashmemtest-expanded ashmemtest-expanded.c |