diff --git a/Makefile.octave b/Makefile.octave index 0f983a0..d0d4501 100644 --- a/Makefile.octave +++ b/Makefile.octave @@ -21,7 +21,7 @@ default : $(TARGET).$(OCTEXT) CPPFLAGS="$(CPPFLAGS)" \ CFLAGS="$(CFLAGS)" \ LDFLAGS="$(LDFLAGS) $(LIBS)" \ - $(OCT_MEX) -o $@ $< + $(OCT_MEX) -o $@ $^ %.o : %.c $(HEADERS) $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<