Compare commits
	
		
			2 Commits
		
	
	
		
			f5b8032eae
			...
			c6dc37c696
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					c6dc37c696 | ||
| 
						 | 
					3e7641d467 | 
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -7,3 +7,4 @@ raylib-build
 | 
				
			|||||||
*_stats
 | 
					*_stats
 | 
				
			||||||
*.data
 | 
					*.data
 | 
				
			||||||
*.ods
 | 
					*.ods
 | 
				
			||||||
 | 
					*.dSYM
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										25
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,15 +1,28 @@
 | 
				
			|||||||
CC         = clang
 | 
					CC            = clang
 | 
				
			||||||
CFLAGS     = -g -O3 -Iraylib/include -Iwapp/src
 | 
					CFLAGS        = -g -O3 -Iraylib/include -Iwapp/src
 | 
				
			||||||
LDFLAGS    = '-Wl,-rpath,$$ORIGIN/raylib/lib' -Lraylib/lib -lraylib
 | 
					LDFLAGS       = '-Wl,-rpath,$$ORIGIN/raylib/lib' -Lraylib/lib -lraylib
 | 
				
			||||||
 | 
					BASEDIR       = $(shell realpath ./)
 | 
				
			||||||
 | 
					RL_SRCDIR     = ${BASEDIR}/raylib-src/src
 | 
				
			||||||
 | 
					RL_BUILDDIR   = ${BASEDIR}/raylib-build
 | 
				
			||||||
 | 
					RL_DESTDIR    = ${BASEDIR}/raylib
 | 
				
			||||||
 | 
					RL_LIBDIR     = ${RL_DESTDIR}/lib
 | 
				
			||||||
 | 
					RL_INCLUDEDIR = ${RL_DESTDIR}/include
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.PHONY: all raylib wapp no_dod dod
 | 
					.PHONY: all raylib wapp no_dod dod
 | 
				
			||||||
 | 
					
 | 
				
			||||||
all: no_dod dod
 | 
					all: no_dod dod
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# raylib:
 | 
				
			||||||
 | 
					# 	cmake -S raylib-src -B raylib-build -DCMAKE_INSTALL_PREFIX=raylib -DCMAKE_CONFIGURATION_TYPES=Release -DBUILD_SHARED_LIBS=ON -G "Ninja Multi-Config"
 | 
				
			||||||
 | 
					# 	cmake --build raylib-build --config=Release
 | 
				
			||||||
 | 
					# 	cmake --install raylib-build --config=Release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
raylib:
 | 
					raylib:
 | 
				
			||||||
	cmake -S raylib-src -B raylib-build -DCMAKE_INSTALL_PREFIX=raylib -DCMAKE_CONFIGURATION_TYPES=Release -DBUILD_SHARED_LIBS=ON -G "Ninja Multi-Config"
 | 
						mkdir -p ${RL_BUILDDIR} ${RL_LIBDIR} ${RL_INCLUDEDIR}
 | 
				
			||||||
	cmake --build raylib-build --config=Release
 | 
						cd ${RL_SRCDIR} && \
 | 
				
			||||||
	cmake --install raylib-build --config=Release
 | 
							make PLATFORM=PLATFORM_DESKTOP RAYLIB_RELEASE_PATH=${RL_BUILDDIR} RAYLIB_LIBTYPE=SHARED && \
 | 
				
			||||||
 | 
							cp ${RL_BUILDDIR}/* ${RL_LIBDIR} && \
 | 
				
			||||||
 | 
							cp ${RL_SRCDIR}/*.h ${RL_INCLUDEDIR}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
wapp:
 | 
					wapp:
 | 
				
			||||||
	cd wapp && python3 -m codegen
 | 
						cd wapp && python3 -m codegen
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user