Skip to content

Commit

Permalink
make install
Browse files Browse the repository at this point in the history
  • Loading branch information
peterevertz committed Apr 22, 2013
1 parent 5182c3d commit d7ab04a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ clean :
@$(MAKE) -C examples clean
@$(MAKE) -C test clean

.PHONY: install
install:
@$(MAKE) -C sml install
4 changes: 4 additions & 0 deletions sml/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,7 @@ clean:
@rm -f src/*.o
@rm -f $(DYN_LIB) $(OBJ_LIB) $(ST_LIB)

install:
@cp lib/libsml.* /usr/lib
@cp -r include/sml /usr/include
@cp ../sml.pc /usr/lib/pkgconfig

1 comment on commit d7ab04a

@r00t-
Copy link

@r00t- r00t- commented on d7ab04a Jan 13, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cp lib/libsml.*
also copies libsml.o, which ends up as clutter on the filesystem

Please sign in to comment.