forked from datto/dattobd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request datto#20 from Conan-Kudo/fixMakefile
Rename img-merge to update-img, add install target for utils, and delete Makefile.in files
- Loading branch information
Showing
7 changed files
with
16 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
.PHONY: all clean | ||
BINARY_NAME = update-img | ||
INSTALLDIR = $(PREFIX)/bin | ||
SOURCES = update-img.c | ||
|
||
.PHONY: all clean install | ||
|
||
all: | ||
gcc -Wall -o img-merge img-merge.c | ||
|
||
$(CC) $(CCFLAGS) -o $(BINARY_NAME) -L $(BASE_DIR)/utils $(SOURCES) | ||
|
||
install: all | ||
mkdir -p $(INSTALLDIR) | ||
install $(BINARY_NAME) $(INSTALLDIR) | ||
|
||
clean: | ||
rm -f img-merge | ||
rm -f $(BINARY_NAME) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters