Browse Source

Make config independent to avoid accidental overwrites

master
lostd 9 years ago
parent
commit
ee72ebd042
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      Makefile

+ 3
- 5
Makefile View File

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


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

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


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

.SUFFIXES: .def.h

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

Loading…
Cancel
Save