Remove automake, build using custom Makefile
This commit is contained in:
parent
0441ff72c3
commit
083b88896e
24 changed files with 82 additions and 16105 deletions
19
Makefile
Normal file
19
Makefile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
export PREFIX = /usr/local
|
||||
export DATADIR = $(PREFIX)/share/antigrav
|
||||
|
||||
all:
|
||||
$(MAKE) -C src
|
||||
|
||||
clean:
|
||||
$(MAKE) -C src clean
|
||||
|
||||
install: all
|
||||
mkdir -p "$(DATADIR)"
|
||||
mv src/antigrav "$(PREFIX)"/bin/
|
||||
cp data/* "$(DATADIR)"/
|
||||
|
||||
uninstall:
|
||||
rm -rf "$(DATADIR)"
|
||||
rm -f "$(PREFIX)"/bin/antigrav
|
||||
|
||||
.PHONY: all clean install uninstall tinyxml
|
||||
Loading…
Add table
Add a link
Reference in a new issue