diff --git a/Makefile b/Makefile index 9b97a12..e283a0b 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,9 @@ OBJ = $(SRC:.c=.o) sxiv: $(OBJ) $(CC) $(LDFLAGS) -o $@ $(OBJ) $(LIBS) -.c.o: Makefile config.h +$(OBJ): Makefile config.h + +.c.o: $(CC) $(CFLAGS) -c -o $@ $< install: all