source: bootcd/isolinux/syslinux-6.03/com32/menu/Makefile

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[e16e8f2]1## -----------------------------------------------------------------------
2##
3##   Copyright 2001-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## Simple menu system
15##
16
17VPATH = $(SRC)
18include $(MAKEDIR)/elf.mk
19
20LNXLIBS    = $(objdir)/com32/libutil/libutil_lnx.a
21
22MODULES   = menu.c32 vesamenu.c32
23TESTFILES =
24
25COMMONOBJS = menumain.o readconfig.o passwd.o drain.o \
26                printmsg.o colors.o background.o refstr.o
27
28all: $(MODULES) $(TESTFILES)
29
30menu.elf : menu.o $(COMMONOBJS) $(C_LIBS)
31        $(LD) $(LDFLAGS) -o $@ $^
32
33vesamenu.elf : vesamenu.o $(COMMONOBJS) $(C_LIBS)
34        $(LD) $(LDFLAGS) -o $@ $^
35
36tidy dist:
37        rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
38
39clean: tidy
40        rm -f *.lnx
41
42spotless: clean
43        rm -f *.lss *.c32 *.com
44        rm -f *~ \#*
45
46install:
47
48-include .*.d
Note: See TracBrowser for help on using the repository browser.