macdylibbundler/makefile

23 lines
597 B
Makefile
Raw Normal View History

2015-06-07 01:18:12 +00:00
DESTDIR=
PREFIX=/usr/local
2015-06-07 01:18:45 +00:00
all: dylibbundler
2014-05-29 23:48:42 +00:00
dylibbundler:
g++ -c -I./src ./src/Settings.cpp -o ./Settings.o
g++ -c -I./src ./src/DylibBundler.cpp -o ./DylibBundler.o
g++ -c -I./src ./src/Dependency.cpp -o ./Dependency.o
g++ -c -I./src ./src/main.cpp -o ./main.o
g++ -c -I./src ./src/Utils.cpp -o ./Utils.o
g++ -o ./dylibbundler ./Settings.o ./DylibBundler.o ./Dependency.o ./main.o ./Utils.o
clean:
rm -f *.o
rm -f ./dylibbundler
install: dylibbundler
2015-06-07 01:18:12 +00:00
cp ./dylibbundler $(DESTDIR)$(PREFIX)/bin/dylibbundler
chmod 775 $(DESTDIR)$(PREFIX)/bin/dylibbundler
.PHONY: all clean install