summaryrefslogtreecommitdiff
path: root/package/aboot/src/sdisklabel/Makefile
blob: 045fd3920688df77d11394ac1e6b3511f219aebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ifndef ($(CC))
CC 	?= gcc
endif
override CFLAGS += -g -O2 -I../include -Wall $(CPPFLAGS)

all:	sdisklabel swriteboot

sdisklabel: sdisklabel.o library.o
	$(CC) $(LDFLAGS) $(CFLAGS) sdisklabel.o library.o -o sdisklabel

swriteboot: swriteboot.o library.o
	$(CC) $(LDFLAGS) $(CFLAGS) swriteboot.o library.o -o swriteboot

clean:
	rm -f sdisklabel swriteboot *.o