-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Makefile, read/use version from it, and bump to 1.04
- Loading branch information
Showing
3 changed files
with
31 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
VERSION = v1.04 | ||
CPPFLAGS += -DVERSION=\"$(VERSION)\" | ||
|
||
PROGS = bin2ecm bin2iso bincomp brrrip byteshuf byteswap cdpatch \ | ||
fakecrc hax65816 id3point pecompat rels screamf subfile \ | ||
uips usfv vb2rip wordadd zerofill | ||
|
||
.PHONY: all clean install | ||
|
||
all: $(PROGS) | ||
|
||
clean: | ||
rm -f $(PROGS) | ||
|
||
prefix?=/usr/local | ||
bindir?=/bin | ||
target=$(DESTDIR)$(prefix) | ||
|
||
install-%: % | ||
install -d "$(target)$(bindir)" | ||
install $< "$(target)$(bindir)" | ||
|
||
install-ecm2bin: install-bin2ecm | ||
ln -s bin2ecm "$(target)$(bindir)/ecm2bin" | ||
|
||
install: install-bin2ecm install-ecm2bin install-bin2iso install-bincomp \ | ||
install-brrrip install-byteshuf install-byteswap install-cdpatch \ | ||
install-fakecrc install-hax65816 install-id3point install-pecompat \ | ||
install-rels install-screamf install-subfile install-uips \ | ||
install-usfv install-vb2rip install-wordadd install-zerofill |
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