dmi: check both the AC and ID flags at the same time
[syslinux.git] / com32 / menu / Makefile
blob7c2d59270cfde8ab554053fb9e307a2c926b4666
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.
11 ## -----------------------------------------------------------------------
14 ## Simple menu system
17 VPATH = $(SRC)
18 include $(MAKEDIR)/elf.mk
20 LNXLIBS = $(objdir)/com32/libutil/libutil_lnx.a
22 MODULES = menu.c32 vesamenu.c32
23 TESTFILES =
25 COMMONOBJS = menumain.o readconfig.o passwd.o drain.o \
26 printmsg.o colors.o background.o refstr.o
28 all: $(MODULES) $(TESTFILES)
30 menu.elf : menu.o $(COMMONOBJS) $(C_LIBS)
31 $(LD) $(LDFLAGS) -o $@ $^
33 vesamenu.elf : vesamenu.o $(COMMONOBJS) $(C_LIBS)
34 $(LD) $(LDFLAGS) -o $@ $^
36 tidy dist:
37 rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
39 clean: tidy
40 rm -f *.lnx
42 spotless: clean
43 rm -f *.lss *.c32 *.com
44 rm -f *~ \#*
46 install:
48 -include .*.d