Compare commits
No commits in common. "19806ab0b599dbf63afb14784e8e683ac99a14d1" and "1e82124264f60f1f40d4af58b4551fed5105f9c4" have entirely different histories.
19806ab0b5
...
1e82124264
2 changed files with 2 additions and 7 deletions
3
Makefile
3
Makefile
|
|
@ -18,4 +18,5 @@ clean:
|
||||||
rm -f *.o writeimg
|
rm -f *.o writeimg
|
||||||
|
|
||||||
install: writeimg
|
install: writeimg
|
||||||
install -m 0755 writeimg /usr/local/bin/writeimg
|
install -c -s writeimg /usr/local/bin/writeimg
|
||||||
|
install -m 0755 $(PROG) $(DESTDIR)$(BINDIR)/$(PROG)
|
||||||
|
|
|
||||||
|
|
@ -16,10 +16,6 @@
|
||||||
#define VERSION "1.0.0"
|
#define VERSION "1.0.0"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CR_YEAR
|
|
||||||
#define CR_YEAR "2026"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
const char help[] =
|
const char help[] =
|
||||||
"Usage:\n"
|
"Usage:\n"
|
||||||
|
|
@ -128,9 +124,7 @@ static const struct option longopts[] = {
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
printf("%s version %s\n", basename(argv[0]), VERSION);
|
printf("%s version %s\n", basename(argv[0]), VERSION);
|
||||||
#ifdef BLDDATE
|
|
||||||
printf("Build date: %s\n", BLDDATE);
|
printf("Build date: %s\n", BLDDATE);
|
||||||
#endif
|
|
||||||
fprintf(stdout, copyright, CR_YEAR);
|
fprintf(stdout, copyright, CR_YEAR);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue