Fix makefiles
This commit is contained in:
parent
f9f11b97c9
commit
5e3625a8f2
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue