| ############################################################################# |
| # Copyright (c) 2013 Linaro |
| # All rights reserved. This program and the accompanying materials |
| # are made available under the terms of the Eclipse Public License v1.0 |
| # which accompanies this distribution, and is available at |
| # http://www.eclipse.org/legal/epl-v10.html |
| # |
| # Contributors: |
| # Linaro <linaro-dev@lists.linaro.org> |
| ############################################################################# |
| |
| # 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 |