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