dec-multia: make netboot possible, add aboot bootloader
[openadk.git] / package / aboot / src / tools / Makefile
blob740b9cb9d989a1ac9ec2f75ffe283d64bdc19554
1 ifndef ($(CC))
2 CC = gcc
3 endif
4 override CFLAGS = -g -O2 -Wall -I. -I../include $(CPPFLAGS)
5 override LDFLAGS = -g
6 override PGMS += e2writeboot abootconf elfencap objstrip
8 EXEC_PREFIX = /usr
10 all: $(PGMS)
12 install: $(PGMS)
13 install -c -o root -g root -m 755 $(PGMS) $(EXEC_PREFIX)/bin
15 clean:
16 rm -f *~ *.o *.a core $(PGMS)
18 isomarkboot: isomarkboot.o ../lib/isolib.o
19 e2writeboot: e2writeboot.o e2lib.o bio.o
21 e2writeboot.o: e2lib.h
22 e2lib.o: e2lib.h