diff options
Diffstat (limited to 'wct4xxp/Makefile')
-rw-r--r-- | wct4xxp/Makefile | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/wct4xxp/Makefile b/wct4xxp/Makefile index 503b396..7fe2869 100644 --- a/wct4xxp/Makefile +++ b/wct4xxp/Makefile @@ -14,24 +14,21 @@ all: wct4xxp.o base.o: ../zaptel.h vpm450m.h wct4xxp.h -vpm450m.o: vpm450m.h vpmoct128_fw.h vpmoct064_fw.h ../oct612x/include/oct6100api/oct6100_api.h +vpm450m.o: vpm450m.h ../oct612x/include/oct6100api/oct6100_api.h -wct4xxp.o: base.o vpm450m.o $(OCTASIC_OBJS) - $(LD) -r -o $@ $^ - -fw2h: fw2h.c - $(HOSTCC) -o $@ $^ +firmware_oct6114-64d.o: OCT6114-64D.ima base.o + @echo Making firmware object file for $< + ../build_tools/make_firmware_object $< $@ base.o -vpmoct128_fw.h: OCT6114-128D.ima fw2h - ./fw2h $< $@ +firmware_oct6114-128d.o: OCT6114-128D.ima base.o + @echo Making firmware object file for $< + ../build_tools/make_firmware_object $< $@ base.o -vpmoct064_fw.h: OCT6114-64D.ima fw2h - ./fw2h $< $@ +wct4xxp.o: base.o vpm450m.o $(OCTASIC_OBJS) firmware_oct6114-64d.o firmware_oct6114-128d.o + $(LD) -r -o $@ $^ clean: - rm -f *.o fw2h - rm -f vpmoct128_fw.h - rm -f vpmoct064_fw.h + rm -f *.o rm -f $(OCTASIC_OBJS) endif |