Change names of config file and control script

Also make top Makefile more tidy.
This commit is contained in:
Igor Socec 2017-01-25 01:33:37 +01:00
parent a1162d1674
commit 83bd22bef9
6 changed files with 22 additions and 20 deletions

View file

@ -40,7 +40,7 @@ $(BUILDDIR)/%.o: %.c
mkdir -p $(BUILDDIR)
$(CC) $(CFLAGS) -c $< -o $@
# target is built from all object files
# target binary is built from all object files
$(BUILDDIR)/$(TARGET_BINARY): $(OBJECTS)
$(CC) $(OBJECTS) $(CFLAGS) -o $@
@ -55,7 +55,7 @@ all: default install
# default builds target
default: $(BUILDDIR)/$(TARGET_BINARY)
# install target
# install target binary
install: default
mkdir -p $(INSTALLDIR)/$(BIN_PREFIX)/bin
cp $(BUILDDIR)/$(TARGET_BINARY) $(INSTALLDIR)/$(BIN_PREFIX)/bin