Skip to content

Commit

Permalink
Changed source file locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aermoss committed Aug 23, 2023
1 parent 310497c commit fb8ab55
Show file tree
Hide file tree
Showing 6 changed files with 614 additions and 614 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ libDirs := -Llib
flags := -lglfw3 -lopengl32 -lgdi32 -lwinmm -lopenvr_api -lpthread

run:
${cc} src/*.cpp src/glad/*.c -o bin/main.exe ${warnings} ${libDirs} ${includeDirs} ${flags} -static-libstdc++ -static-libgcc -static
${cc} src/*.cpp src/sample/*.cpp src/vendor/glad/*.c -o bin/main.exe ${warnings} ${libDirs} ${includeDirs} ${flags} -static-libstdc++ -static-libgcc -static
bin/main

all: static shared executable

executable:
${cc} src/*.cpp src/glad/*.c -o bin/main.exe ${warnings} ${libDirs} ${includeDirs} ${flags} -static-libstdc++ -static-libgcc -static
${cc} src/*.cpp src/sample/*.cpp src/vendor/glad/*.c -o bin/main.exe ${warnings} ${libDirs} ${includeDirs} ${flags} -static-libstdc++ -static-libgcc -static

static:
${cc} src/rvr.cpp -c -o bin/rvr.o ${warnings} ${includeDirs}
${cc} src/*.cpp -c -o bin/rvr.o ${warnings} ${includeDirs}
ar rvs bin/librvr.a bin/rvr.o

shared:
${cc} src/rvr.cpp src/glad/*.c -shared -o bin/rvr.dll ${warnings} ${libDirs} ${includeDirs} ${flags} -static-libstdc++ -static-libgcc -static -DRVR_EXTERN
${cc} src/*.cpp src/vendor/glad/*.c -shared -o bin/rvr.dll ${warnings} ${libDirs} ${includeDirs} ${flags} -static-libstdc++ -static-libgcc -static -DRVR_EXTERN
Binary file modified bin/librvr.a
Binary file not shown.
Binary file modified bin/main.exe
Binary file not shown.
Binary file modified bin/rvr.dll
Binary file not shown.
Loading

0 comments on commit fb8ab55

Please sign in to comment.