blob: 6876ad0c7a86b16a0a6ba442702986e6a6d02707 [file] [log] [blame]
Brad Bishop40a360c2016-05-28 18:41:04 -04001BINS=flasher
2EXTRA_OBJS+=progress.o \
3 ast-sf-ctrl.o \
4 libflash.o \
5 libffs.o \
6 arm_io.o
Brad Bishopc034d2d2016-06-19 20:53:35 -04007ALL_CFLAGS+=-Ipflash
Brad Bishop40a360c2016-05-28 18:41:04 -04008include ../gdbus.mk
9include ../rules.mk
10
11%.o: pflash/%.c
Brad Bishopc034d2d2016-06-19 20:53:35 -040012 $(CC) -c $(ALL_CFLAGS) -o $@ $<
Brad Bishop40a360c2016-05-28 18:41:04 -040013%.o: pflash/libflash/%.c
Brad Bishopc034d2d2016-06-19 20:53:35 -040014 $(CC) -c $(ALL_CFLAGS) -o $@ $<