blob: 367a7c9a6f6f5a7f6dc9f48224ed36a4336546f6 [file] [log] [blame]
Luc Verhaegen6f3fe852009-01-07 15:34:58 +01001MAKE = make
Luc Verhaegendf9c14e2009-01-07 18:23:15 +01002CFLAGS = -g -fpack-struct -Wall
Luc Verhaegen53cd0342009-01-07 17:23:32 +01003CC = gcc
Luc Verhaegen6f3fe852009-01-07 15:34:58 +01004
Luc Verhaegen838fe242009-06-17 00:48:02 +02005all: bios_extract bcpvpd
Luc Verhaegen01e13002009-01-07 15:36:37 +01006
Luc Verhaegen5c343ad2009-07-13 11:46:37 +02007BIOS_EXTRACT_OBJS = lh5_extract.o ami.o award.o phoenix.o bios_extract.o
Luc Verhaegen838fe242009-06-17 00:48:02 +02008bios_extract: $(BIOS_EXTRACT_OBJS)
9 $(CC) $(CFLAGS) $(BIOS_EXTRACT_OBJS) -o bios_extract
Luc Verhaegen6f3fe852009-01-07 15:34:58 +010010
Luc Verhaegena2980652009-06-17 14:45:24 +020011BCPVPD_OBJS = lzss_extract.o bcpvpd.o
12bcpvpd: $(BCPVPD_OBJS)
13 $(CC) $(CFLAGS) $(BCPVPD_OBJS) -o bcpvpd
Luc Verhaegen1646a412009-06-16 08:22:14 +020014
Luc Verhaegen57741672009-06-16 23:34:21 +020015# just here to easily verify the functionality of the lh5 routine
16LH5_TEST_OBJS = lh5_extract.o lh5_test.o
17lh5_test: $(LH5_TEST_OBJS)
18 $(CC) $(CFLAGS) $(LH5_TEST_OBJS) -o lh5_test
Luc Verhaegen462b7762009-06-10 16:56:26 +020019
Luc Verhaegen6f3fe852009-01-07 15:34:58 +010020clean:
Luc Verhaegen1646a412009-06-16 08:22:14 +020021 rm -f *.o
Luc Verhaegen838fe242009-06-17 00:48:02 +020022 rm -f bios_extract
Luc Verhaegen57741672009-06-16 23:34:21 +020023 rm -f bcpvpd
Luc Verhaegen1646a412009-06-16 08:22:14 +020024 rm -f lh5_test