Home | History | Annotate | Download | only in src
      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 
      5 CFLAGS		= -Os -g -Wall
      6 OUTDIR		= ..
      7 TARGET		= nvmap_carveout_compactor
      8 OUT		= $(OUTDIR)/$(TARGET)
      9 SOURCE_FILES	= nvmap_carveout_compactor.c
     10 GCC		= $(CROSS_COMPILE)gcc
     11 
     12 all:
     13 	$(GCC) -lEGL -lGLESv2 $(CFLAGS) $(SOURCE_FILES) -o $(OUT)
     14 
     15 clean:
     16 	rm -f *.o
     17 	rm -rf $(OUT)
     18