libinstaller: Use SOURCE_DATE_EPOCH for synthesized modification time stamps
[syslinux.git] / com32 / chain / Makefile
blobd7b5aa8fa53983c03196c086b8ab7a4b2389c520
1 ## -----------------------------------------------------------------------
2 ##
3 ## Copyright 2001-2009 H. Peter Anvin - All Rights Reserved
4 ## Copyright 2009-2010 Intel Corporation; author: H. Peter Anvin
5 ## Copyright 2010 Shao Miller
6 ## Copyright 2010-2015 Michal Soltys
7 ##
8 ## This program is free software; you can redistribute it and/or modify
9 ## it under the terms of the GNU General Public License as published by
10 ## the Free Software Foundation, Inc., 53 Temple Place Ste 330,
11 ## Boston MA 02111-1307, USA; either version 2 of the License, or
12 ## (at your option) any later version; incorporated herein by reference.
14 ## -----------------------------------------------------------------------
16 VPATH = $(SRC)
17 include $(MAKEDIR)/elf.mk
19 OBJS = chain.o partiter.o utility.o options.o mangle.o
20 CFLAGS += -fno-strict-aliasing
22 all: chain.c32
24 chain.elf: $(OBJS) $(C_LIBS)
25 $(LD) $(LDFLAGS) -o $@ $^
27 %.o: %.c
28 $(CC) $(MAKEDEPS) $(CFLAGS) $(CHAINEXTOPT) -c -o $@ $<
30 tidy dist:
31 rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
33 clean: tidy
34 rm -f *.lnx
36 spotless: clean
37 rm -f *.lss *.c32 *.com
38 rm -f *~ \#*
40 install:
43 -include .*.d