Permalink
Browse files

Removed all makefiles except for hello_world

  • Loading branch information...
1 parent 2f22bdc commit b57781f14b5198e2702d986e167c2d21a84a1a1f @yifanlu yifanlu committed with devnoname120 Dec 11, 2016
Showing with 10 additions and 659 deletions.
  1. +0 −55 audio/Makefile
  2. +0 −55 camera/Makefile
  3. +0 −55 ctrl/Makefile
  4. +0 −55 debug_print/Makefile
  5. +5 −2 hello_cpp_world/Makefile
  6. +5 −2 hello_world/Makefile
  7. +0 −49 ime/Makefile
  8. +0 −55 motion/Makefile
  9. +0 −55 net_http/Makefile
  10. +0 −55 power/Makefile
  11. +0 −56 pretty_livearea/Makefile
  12. +0 −51 rtc/Makefile
  13. +0 −59 sdl2/redrectangle/Makefile
  14. +0 −55 touch/Makefile
View
@@ -1,55 +0,0 @@
-PHONY := all package clean
-rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
-
-CC := arm-vita-eabi-gcc
-CXX := arm-vita-eabi-g++
-STRIP := arm-vita-eabi-strip
-
-PROJECT_TITLE := VitaSDK sample
-PROJECT_TITLEID := VSDK00001
-
-PROJECT := vita_sample
-CXXFLAGS += -std=c++11 -I../common
-CFLAGS += -std=gnu11 -I../common
-
-LIBS := -lSceDisplay_stub -lSceCtrl_stub -lSceAudio_stub
-
-SRC_C :=$(call rwildcard, src/, *.c)
-SRC_CPP :=$(call rwildcard, src/, *.cpp)
-
-OBJ_DIRS := $(addprefix out/, $(dir $(SRC_C:src/%.c=%.o))) $(addprefix out/, $(dir $(SRC_CPP:src/%.cpp=%.o)))
-OBJS := $(addprefix out/, $(SRC_C:src/%.c=%.o)) $(addprefix out/, $(SRC_CPP:src/%.cpp=%.o))
-
-
-all: package
-
-package: $(PROJECT).vpk
-
-$(PROJECT).vpk: eboot.bin param.sfo
- vita-pack-vpk -s param.sfo -b eboot.bin $(PROJECT).vpk
-
-eboot.bin: $(PROJECT).velf
- vita-make-fself $(PROJECT).velf eboot.bin
-
-param.sfo:
- vita-mksfoex -s TITLE_ID="$(PROJECT_TITLEID)" "$(PROJECT_TITLE)" param.sfo
-
-$(PROJECT).velf: $(PROJECT).elf
- $(STRIP) -g $<
- vita-elf-create $< $@
-
-$(PROJECT).elf: $(OBJS)
- $(CXX) -Wl,-q $(CFLAGS) -o $@ $^ $(LIBS)
-
-$(OBJ_DIRS):
- mkdir -p $@
-
-out/%.o : src/%.cpp | $(OBJ_DIRS)
- arm-vita-eabi-g++ -c $(CXXFLAGS) -o $@ $<
-
-out/%.o : src/%.c | $(OBJ_DIRS)
- arm-vita-eabi-gcc -c $(CFLAGS) -o $@ $<
-
-clean:
- rm -f $(PROJECT).velf $(PROJECT).elf $(PROJECT).vpk param.sfo eboot.bin $(OBJS)
- rm -r $(abspath $(OBJ_DIRS))
View
@@ -1,55 +0,0 @@
-PHONY := all package clean
-rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
-
-CC := arm-vita-eabi-gcc
-CXX := arm-vita-eabi-g++
-STRIP := arm-vita-eabi-strip
-
-PROJECT_TITLE := VitaSDK sample
-PROJECT_TITLEID := VSDK00001
-
-PROJECT := vita_sample
-CXXFLAGS += -std=c++11 -I../common
-CFLAGS += -I../common
-
-LIBS := -lSceDisplay_stub -lSceCtrl_stub -lSceCamera_stub
-
-SRC_C :=$(call rwildcard, src/, *.c)
-SRC_CPP :=$(call rwildcard, src/, *.cpp)
-
-OBJ_DIRS := $(addprefix out/, $(dir $(SRC_C:src/%.c=%.o))) $(addprefix out/, $(dir $(SRC_CPP:src/%.cpp=%.o)))
-OBJS := $(addprefix out/, $(SRC_C:src/%.c=%.o)) $(addprefix out/, $(SRC_CPP:src/%.cpp=%.o))
-
-
-all: package
-
-package: $(PROJECT).vpk
-
-$(PROJECT).vpk: eboot.bin param.sfo
- vita-pack-vpk -s param.sfo -b eboot.bin $(PROJECT).vpk
-
-eboot.bin: $(PROJECT).velf
- vita-make-fself $(PROJECT).velf eboot.bin
-
-param.sfo:
- vita-mksfoex -s TITLE_ID="$(PROJECT_TITLEID)" "$(PROJECT_TITLE)" param.sfo
-
-$(PROJECT).velf: $(PROJECT).elf
- $(STRIP) -g $<
- vita-elf-create $< $@
-
-$(PROJECT).elf: $(OBJS)
- $(CXX) -Wl,-q $(CFLAGS) -o $@ $^ $(LIBS)
-
-$(OBJ_DIRS):
- mkdir -p $@
-
-out/%.o : src/%.cpp | $(OBJ_DIRS)
- arm-vita-eabi-gcc -c $(CXXFLAGS) -o $@ $<
-
-out/%.o : src/%.c | $(OBJ_DIRS)
- arm-vita-eabi-gcc -c $(CFLAGS) -o $@ $<
-
-clean:
- rm -f $(PROJECT).velf $(PROJECT).elf $(PROJECT).vpk param.sfo eboot.bin $(OBJS)
- rm -r $(abspath $(OBJ_DIRS))
View
@@ -1,55 +0,0 @@
-PHONY := all package clean
-rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
-
-CC := arm-vita-eabi-gcc
-CXX := arm-vita-eabi-g++
-STRIP := arm-vita-eabi-strip
-
-PROJECT_TITLE := VitaSDK sample
-PROJECT_TITLEID := VSDK00001
-
-PROJECT := vita_sample
-CXXFLAGS += -std=c++11 -I../common
-CFLAGS += -I../common
-
-LIBS := -lSceDisplay_stub -lSceCtrl_stub
-
-SRC_C :=$(call rwildcard, src/, *.c)
-SRC_CPP :=$(call rwildcard, src/, *.cpp)
-
-OBJ_DIRS := $(addprefix out/, $(dir $(SRC_C:src/%.c=%.o))) $(addprefix out/, $(dir $(SRC_CPP:src/%.cpp=%.o)))
-OBJS := $(addprefix out/, $(SRC_C:src/%.c=%.o)) $(addprefix out/, $(SRC_CPP:src/%.cpp=%.o))
-
-
-all: package
-
-package: $(PROJECT).vpk
-
-$(PROJECT).vpk: eboot.bin param.sfo
- vita-pack-vpk -s param.sfo -b eboot.bin $(PROJECT).vpk
-
-eboot.bin: $(PROJECT).velf
- vita-make-fself $(PROJECT).velf eboot.bin
-
-param.sfo:
- vita-mksfoex -s TITLE_ID="$(PROJECT_TITLEID)" "$(PROJECT_TITLE)" param.sfo
-
-$(PROJECT).velf: $(PROJECT).elf
- $(STRIP) -g $<
- vita-elf-create $< $@
-
-$(PROJECT).elf: $(OBJS)
- $(CXX) -Wl,-q $(CFLAGS) -o $@ $^ $(LIBS)
-
-$(OBJ_DIRS):
- mkdir -p $@
-
-out/%.o : src/%.cpp | $(OBJ_DIRS)
- arm-vita-eabi-g++ -c $(CXXFLAGS) -o $@ $<
-
-out/%.o : src/%.c | $(OBJ_DIRS)
- arm-vita-eabi-g++ -c $(CFLAGS) -o $@ $<
-
-clean:
- rm -f $(PROJECT).velf $(PROJECT).elf $(PROJECT).vpk param.sfo eboot.bin $(OBJS)
- rm -r $(abspath $(OBJ_DIRS))
View
@@ -1,55 +0,0 @@
-PHONY := all package clean
-rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
-
-CC := arm-vita-eabi-gcc
-CXX := arm-vita-eabi-g++
-STRIP := arm-vita-eabi-strip
-
-PROJECT_TITLE := VitaSDK sample
-PROJECT_TITLEID := VSDK00001
-
-PROJECT := vita_sample
-CXXFLAGS += -std=c++11 -I../common
-CFLAGS += -I../common
-
-LIBS := -lSceDisplay_stub
-
-SRC_C :=$(call rwildcard, src/, *.c)
-SRC_CPP :=$(call rwildcard, src/, *.cpp)
-
-OBJ_DIRS := $(addprefix out/, $(dir $(SRC_C:src/%.c=%.o))) $(addprefix out/, $(dir $(SRC_CPP:src/%.cpp=%.o)))
-OBJS := $(addprefix out/, $(SRC_C:src/%.c=%.o)) $(addprefix out/, $(SRC_CPP:src/%.cpp=%.o))
-
-
-all: package
-
-package: $(PROJECT).vpk
-
-$(PROJECT).vpk: eboot.bin param.sfo
- vita-pack-vpk -s param.sfo -b eboot.bin $(PROJECT).vpk
-
-eboot.bin: $(PROJECT).velf
- vita-make-fself $(PROJECT).velf eboot.bin
-
-param.sfo:
- vita-mksfoex -s TITLE_ID="$(PROJECT_TITLEID)" "$(PROJECT_TITLE)" param.sfo
-
-$(PROJECT).velf: $(PROJECT).elf
- $(STRIP) -g $<
- vita-elf-create $< $@
-
-$(PROJECT).elf: $(OBJS)
- $(CXX) -Wl,-q $(CFLAGS) -o $@ $^ $(LIBS)
-
-$(OBJ_DIRS):
- mkdir -p $@
-
-out/%.o : src/%.cpp | $(OBJ_DIRS)
- arm-vita-eabi-g++ -c $(CXXFLAGS) -o $@ $<
-
-out/%.o : src/%.c | $(OBJ_DIRS)
- arm-vita-eabi-g++ -c $(CFLAGS) -o $@ $<
-
-clean:
- rm -f $(PROJECT).velf $(PROJECT).elf $(PROJECT).vpk param.sfo eboot.bin $(OBJS)
- rm -r $(abspath $(OBJ_DIRS))
@@ -1,12 +1,15 @@
+# Writing Vita Makefiles is now DEPRECATED. All you need is CMakeLists.txt
+# This is provided only for compatibility. Your project does NOT need this file.
+
PHONY := all package clean
rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
CC := arm-vita-eabi-gcc
CXX := arm-vita-eabi-g++
STRIP := arm-vita-eabi-strip
-PROJECT_TITLE := VitaSDK sample
-PROJECT_TITLEID := VSDK00001
+PROJECT_TITLE := Hello World
+PROJECT_TITLEID := VSDK00005
PROJECT := vita_sample
CXXFLAGS += -std=c++11
@@ -1,12 +1,15 @@
+# Writing Vita Makefiles is now DEPRECATED. All you need is CMakeLists.txt
+# This is provided only for compatibility. Your project does NOT need this file.
+
PHONY := all package clean
rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
CC := arm-vita-eabi-gcc
CXX := arm-vita-eabi-g++
STRIP := arm-vita-eabi-strip
-PROJECT_TITLE := VitaSDK sample
-PROJECT_TITLEID := VSDK00001
+PROJECT_TITLE := Hello World
+PROJECT_TITLEID := VSDK00006
PROJECT := vita_sample
CFLAGS += -Wl,-q -I../common
View
@@ -1,49 +0,0 @@
-PHONY := all package clean
-rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
-
-CC := arm-vita-eabi-gcc
-STRIP := arm-vita-eabi-strip
-
-PROJECT_TITLE := Ime Sample
-PROJECT_TITLEID := FFFF00002
-
-PROJECT := vita_sample
-
-LIBS := -lSceDisplay_stub -lSceGxm_stub -lSceAppUtil_stub -lSceCommonDialog_stub -lSceSysmodule_stub
-#-lvita2d
-SRC_C :=$(call rwildcard, src/, *.c)
-SRC_CPP :=$(call rwildcard, src/, *.cpp)
-
-OBJ_DIRS := $(addprefix out/, $(dir $(SRC_C:src/%.c=%.o))) $(addprefix out/, $(dir $(SRC_CPP:src/%.cpp=%.o)))
-OBJS := $(addprefix out/, $(SRC_C:src/%.c=%.o)) $(addprefix out/, $(SRC_CPP:src/%.cpp=%.o))
-
-all: package
-
-package: $(PROJECT).vpk
-
-$(PROJECT).vpk: eboot.bin param.sfo
- vita-pack-vpk -s param.sfo -b eboot.bin \
- $(PROJECT).vpk
-
-eboot.bin: $(PROJECT).velf
- vita-make-fself $(PROJECT).velf eboot.bin
-
-param.sfo:
- vita-mksfoex -s TITLE_ID="$(PROJECT_TITLEID)" "$(PROJECT_TITLE)" param.sfo
-
-$(PROJECT).velf: $(PROJECT).elf
- $(STRIP) -g $<
- vita-elf-create $< $@
-
-$(PROJECT).elf: $(OBJS)
- $(CC) -Wl,-q -o $@ ./out/*.o $(LIBS)
-
-$(OBJ_DIRS):
- mkdir -p $@
-
-out/%.o : src/%.c | $(OBJ_DIRS)
- $(CC) -I../common -c -std=c11 -o $@ $<
-
-clean:
- rm -f $(PROJECT).velf $(PROJECT).elf $(PROJECT).vpk param.sfo eboot.bin $(OBJS)
- rm -r $(abspath $(OBJ_DIRS))
View
@@ -1,55 +0,0 @@
-PHONY := all package clean
-rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
-
-CC := arm-vita-eabi-gcc
-CXX := arm-vita-eabi-g++
-STRIP := arm-vita-eabi-strip
-
-PROJECT_TITLE := VitaSDK sample
-PROJECT_TITLEID := VSDK00001
-
-PROJECT := vita_sample
-CXXFLAGS += -std=c++11 -I../common
-CFLAGS += -I../common
-
-LIBS := -lSceDisplay_stub -lSceCtrl_stub -lSceMotion_stub
-
-SRC_C :=$(call rwildcard, src/, *.c)
-SRC_CPP :=$(call rwildcard, src/, *.cpp)
-
-OBJ_DIRS := $(addprefix out/, $(dir $(SRC_C:src/%.c=%.o))) $(addprefix out/, $(dir $(SRC_CPP:src/%.cpp=%.o)))
-OBJS := $(addprefix out/, $(SRC_C:src/%.c=%.o)) $(addprefix out/, $(SRC_CPP:src/%.cpp=%.o))
-
-
-all: package
-
-package: $(PROJECT).vpk
-
-$(PROJECT).vpk: eboot.bin param.sfo
- vita-pack-vpk -s param.sfo -b eboot.bin $(PROJECT).vpk
-
-eboot.bin: $(PROJECT).velf
- vita-make-fself $(PROJECT).velf eboot.bin
-
-param.sfo:
- vita-mksfoex -s TITLE_ID="$(PROJECT_TITLEID)" "$(PROJECT_TITLE)" param.sfo
-
-$(PROJECT).velf: $(PROJECT).elf
- $(STRIP) -g $<
- vita-elf-create $< $@
-
-$(PROJECT).elf: $(OBJS)
- $(CXX) -Wl,-q $(CFLAGS) -o $@ $^ $(LIBS)
-
-$(OBJ_DIRS):
- mkdir -p $@
-
-out/%.o : src/%.cpp | $(OBJ_DIRS)
- arm-vita-eabi-gcc -c $(CXXFLAGS) -o $@ $<
-
-out/%.o : src/%.c | $(OBJ_DIRS)
- arm-vita-eabi-gcc -c $(CFLAGS) -o $@ $<
-
-clean:
- rm -f $(PROJECT).velf $(PROJECT).elf $(PROJECT).vpk param.sfo eboot.bin $(OBJS)
- rm -r $(abspath $(OBJ_DIRS))
Oops, something went wrong.

0 comments on commit b57781f

Please sign in to comment.