Skip to content

Commit

Permalink
chore: desmodularize project
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoDornelles committed Nov 1, 2023
1 parent 437c2da commit 1fa1177
Show file tree
Hide file tree
Showing 17 changed files with 725 additions and 812 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 3.5)

include("${CMAKE_SOURCE_DIR}/cc65-find.cmake")
include_directories("${CMAKE_SOURCE_DIR}/lib")
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_SOURCE_DIR}/cc65-toolchain.cmake")

project(kokobatoru C ASM)
Expand All @@ -16,11 +17,13 @@ set(CMAKE_EXE_LINKER_FLAGS "-C nrom_128_horz.cfg ${CMAKE_EXE_LINKER_FLAGS}")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

add_executable("kokobatoru"
"${CMAKE_SOURCE_DIR}/kokobatoru.c"
"${CMAKE_SOURCE_DIR}/src/game.c"
"${CMAKE_SOURCE_DIR}/asm/crt0.s"
)

add_executable("cocobattleroyale"
"${CMAKE_SOURCE_DIR}/cocobattleroyale.c"
"${CMAKE_SOURCE_DIR}/src/game.c"
"${CMAKE_SOURCE_DIR}/asm/crt0.s"
)

target_compile_definitions("kokobatoru" PRIVATE FAMICON_VERSION=1)
25 changes: 0 additions & 25 deletions cocobattleroyale.c

This file was deleted.

25 changes: 0 additions & 25 deletions kokobatoru.c

This file was deleted.

143 changes: 0 additions & 143 deletions lib/globals.h

This file was deleted.

82 changes: 0 additions & 82 deletions src/anim.c

This file was deleted.

11 changes: 0 additions & 11 deletions src/anim.h

This file was deleted.

Loading

0 comments on commit 1fa1177

Please sign in to comment.