1# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5CFLAGS		= -Os -g -Wall
6OUTDIR		= ..
7TARGET		= nvmap_carveout_compactor
8OUT		= $(OUTDIR)/$(TARGET)
9SOURCE_FILES	= nvmap_carveout_compactor.c
10GCC		= $(CROSS_COMPILE)gcc
11
12all:
13	$(GCC) -lEGL -lGLESv2 $(CFLAGS) $(SOURCE_FILES) -o $(OUT)
14
15clean:
16	rm -f *.o
17	rm -rf $(OUT)
18