xref: /openbmc/skeleton/op-flasher/Makefile (revision 40a360c2)
1*40a360c2SBrad BishopBINS=flasher
2*40a360c2SBrad BishopEXTRA_OBJS+=progress.o \
3*40a360c2SBrad Bishop	    ast-sf-ctrl.o \
4*40a360c2SBrad Bishop	    libflash.o \
5*40a360c2SBrad Bishop	    libffs.o \
6*40a360c2SBrad Bishop	    arm_io.o
7*40a360c2SBrad BishopCFLAGS+=-Ipflash
8*40a360c2SBrad Bishopinclude ../gdbus.mk
9*40a360c2SBrad Bishopinclude ../rules.mk
10*40a360c2SBrad Bishop
11*40a360c2SBrad Bishop%.o: pflash/%.c
12*40a360c2SBrad Bishop	$(CC) -c -o $(CFLAGS) -fPIC -o $@ $<
13*40a360c2SBrad Bishop%.o: pflash/libflash/%.c
14*40a360c2SBrad Bishop	$(CC) -c -o $(CFLAGS) -fPIC -o $@ $<
15