Merge commit 'hdt/master'
[profile/ivi/syslinux.git] / gpxe / Makefile
1 ## -----------------------------------------------------------------------
2 ##   
3 ##   Copyright 2008-2009 H. Peter Anvin - All Rights Reserved
4 ##   Copyright 2009 Intel Corporation; author: H. Peter Anvin
5 ##
6 ##   This program is free software; you can redistribute it and/or modify
7 ##   it under the terms of the GNU General Public License as published by
8 ##   the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
9 ##   Boston MA 02110-1301, USA; either version 2 of the License, or
10 ##   (at your option) any later version; incorporated herein by reference.
11 ##
12 ## -----------------------------------------------------------------------
13
14 #
15 # Makefile for gpxe/gpxelinux.0
16 #
17 # Very simple, really...
18 #
19
20 TARGETS = gpxelinux.0
21
22 all: $(TARGETS)
23
24 tidy:
25
26 clean: tidy
27
28 dist:
29         $(MAKE) -C src veryclean > /dev/null 2>&1
30
31 spotless: clean dist
32         rm -f $(TARGETS)
33
34 installer:
35
36 src/bin/undionly.kkpxe: pxelinux.gpxe ../core/pxelinux.0
37         $(MAKE) -C src bin/undionly.kkpxe NO_WERROR=1 \
38                 EMBEDDED_IMAGE=../pxelinux.gpxe,../../core/pxelinux.0
39
40 gpxelinux.0: src/bin/undionly.kkpxe
41         cp -f $< $@