File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ ifndef ORBISDEV
2
2
$(error ORBISDEV, is not set)
3
3
endif
4
4
5
+ projectname := SDL2
5
6
target := ps4_lib
6
7
OutPath := lib
7
- TargetFile := libSDL .a
8
+ TargetFile := lib $( projectname ) .a
8
9
9
10
include $(ORBISDEV ) /make/ps4sdklib.mk
10
11
CompilerFlags += -D__PS4__ -D__ORBIS__
@@ -13,8 +14,12 @@ IncludePath += -I$(ORBISDEV)/usr/include -I$(ORBISDEV)/usr/include/c++/v1 -I$(OR
13
14
# we are just shipping a cross builted (on linux) archive here!
14
15
15
16
$(AllTarget ) : $(ObjectFiles )
17
+ $(dirp )
18
+ $(archive )
16
19
@echo " $( TargetFile) Compiled!"
17
20
18
21
install :
19
- # ToDo: copy to include and lib directories
22
+ @mkdir $(ORBISDEV ) /usr/include/$(projectname )
23
+ @cp source/* .h $(ORBISDEV ) /usr/include/$(projectname )
24
+ @cp lib/$(TargetFile ) $(ORBISDEV ) /usr/lib
20
25
@echo " $( TargetFile) Installed!"
You can’t perform that action at this time.
0 commit comments