Parcourir la source

Make config independent to avoid accidental overwrites

master
lostd il y a 10 ans
Parent
révision
ee72ebd042
1 fichiers modifiés avec 3 ajouts et 5 suppressions
  1. +3
    -5
      Makefile

+ 3
- 5
Makefile Voir le fichier

@@ -21,6 +21,9 @@ noice.o: util.h config.h
strlcat.o: util.h
strlcpy.o: util.h

config.h:
cp config.def.h $@

install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
@@ -40,8 +43,3 @@ dist:

clean:
rm -f $(BIN) $(OBJ) noice-$(VERSION).tar.gz

.SUFFIXES: .def.h

.def.h.h:
cp $< $@

Chargement…
Annuler
Enregistrer