File: Makefile

package info (click to toggle)
aboot 0.9b-3
  • links: PTS
  • area: main
  • in suites: etch-m68k, sarge
  • size: 984 kB
  • ctags: 1,659
  • sloc: ansic: 8,970; perl: 738; makefile: 382; asm: 309; sh: 3
file content (15 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (4)
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