forked from auriamg/macdylibbundler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
22 lines (17 loc) · 615 Bytes
/
Copy pathmakefile
File metadata and controls
22 lines (17 loc) · 615 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESTDIR=
PREFIX=/usr/local
all: dylibbundler
dylibbundler:
$(CXX) -c -I./src ./src/Settings.cpp -o ./Settings.o
$(CXX) -c -I./src ./src/DylibBundler.cpp -o ./DylibBundler.o
$(CXX) -c -I./src ./src/Dependency.cpp -o ./Dependency.o
$(CXX) -c -I./src ./src/main.cpp -o ./main.o
$(CXX) -c -I./src ./src/Utils.cpp -o ./Utils.o
$(CXX) -o ./dylibbundler ./Settings.o ./DylibBundler.o ./Dependency.o ./main.o ./Utils.o
clean:
rm -f *.o
rm -f ./dylibbundler
install: dylibbundler
cp ./dylibbundler $(DESTDIR)$(PREFIX)/bin/dylibbundler
chmod 775 $(DESTDIR)$(PREFIX)/bin/dylibbundler
.PHONY: all clean install