Merge pull request #5 from sl1pkn07/master

Fix makefiles
This commit is contained in:
Ondřej Hošek 2018-04-13 20:06:43 +02:00 committed by GitHub
commit 2063e3e0cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@ clean:
rm -f hlextract Main.o
install: hlextract
install -g root -m 0755 -o root -d $(PREFIX)/bin
install -g root -m 0755 -o root hlextract $(PREFIX)/bin
hlextract: Main.o ../HLLib/libhl.a

View File

@ -26,8 +26,8 @@ install: libhl.so.$(HLLIB_VERS)
install -g root -m 0755 -o root -d $(PREFIX)/lib $(PREFIX)/include
install -g root -m 0644 -o root libhl.so.$(HLLIB_VERS) $(PREFIX)/lib
install -g root -m 0644 -o root ../lib/HLLib.h $(PREFIX)/include/hl.h
ln -fs $(PREFIX)/lib/libhl.so.$(HLLIB_VERS) $(PREFIX)/lib/libhl.so.2
ln -fs $(PREFIX)/lib/libhl.so.$(HLLIB_VERS) $(PREFIX)/lib/libhl.so
ln -fs libhl.so.$(HLLIB_VERS) $(PREFIX)/lib/libhl.so.2
ln -fs libhl.so.$(HLLIB_VERS) $(PREFIX)/lib/libhl.so
libhl.so.$(HLLIB_VERS): $(objs)
$(CXX) $(LDFLAGS) -o $@ $(objs)