Skip to content

Commit

Permalink
C files also need the usb header
Browse files Browse the repository at this point in the history
  • Loading branch information
dkulp committed Mar 28, 2022
1 parent 3e6325d commit c3653c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CXXFLAGS_src/FPPVastFM.o += -I$(SRCDIR)
%.o: %.cpp Makefile $(USBHEADERPATH)/libusb.h
$(CCACHE) $(CC) $(CFLAGS) $(CXXFLAGS) $(CXXFLAGS_$@) -c $< -o $@

%.o: %.c Makefile
%.o: %.c Makefile $(USBHEADERPATH)/libusb.h
$(CCACHE) gcc $(CFLAGS) $(CFLAGS_$@) -c $< -o $@

libfpp-vastfmt.$(SHLIB_EXT): $(OBJECTS_fpp_vastfmt_so) $(SRCDIR)/libfpp.$(SHLIB_EXT)
Expand Down

0 comments on commit c3653c7

Please sign in to comment.