made installHeader use symlink instead of copying PROJECT_NAME.h
This commit is contained in:
parent
e70b54da69
commit
e20a5e7b94
2
Makefile
2
Makefile
@ -31,7 +31,7 @@ noTarget: # Do not use this, please <3
|
|||||||
|
|
||||||
installHeader:
|
installHeader:
|
||||||
for file in $(INCLUDE); do install -m 755 -D $(DOLLAR)file -t $(INSTALL_INCLUDE)/$(PROJECT_NAME); done
|
for file in $(INCLUDE); do install -m 755 -D $(DOLLAR)file -t $(INSTALL_INCLUDE)/$(PROJECT_NAME); done
|
||||||
install -m 755 $(INCLUDE_DIR)/$(PROJECT_NAME).h $(INSTALL_INCLUDE)/$(PROJECT_NAME).h
|
ln -sf $(INSTALL_INCLUDE)/$(PROJECT_NAME)/$(PROJECT_NAME).h $(INSTALL_INCLUDE)/$(PROJECT_NAME).h
|
||||||
|
|
||||||
installLib:
|
installLib:
|
||||||
$(CC) $(CFLAGS) -fPIC -c $(SRC)
|
$(CC) $(CFLAGS) -fPIC -c $(SRC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user