Change names of config file and control script
Also make top Makefile more tidy.
This commit is contained in:
parent
a1162d1674
commit
83bd22bef9
6 changed files with 22 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue