diff --git a/build/Makefile b/build/Makefile index cfc4f24..b8328ad 100644 --- a/build/Makefile +++ b/build/Makefile @@ -91,7 +91,7 @@ install: toxic @mkdir -p $(DESTDIR)/$(BINDIR) @mkdir -p $(DESTDIR)/$(DATADIR) install -m 0755 toxic $(DESTDIR)/$(BINDIR) - install -m 0644 $(DATAFILES) $(PREFIX)/$(DATADIR) + install -m 0644 $(DATAFILES) $(DESTDIR)/$(DATADIR) %.o: $(SRC_DIR)/%.c $(CC) $(CFLAGS) -o $*.o -c $(SRC_DIR)/$*.c