mirror of
				https://github.com/gtxaspec/wz_mini_hacks.git
				synced 2025-11-03 22:21:53 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			451 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			451 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# libcallback.so
 | 
						|
 | 
						|
CC = /openmiko/build/mips-gcc472-glibc216-64bit/bin/mips-linux-uclibc-gnu-gcc
 | 
						|
CFLAGS = -fPIC -std=gnu99 -shared -ldl -ltinyalsa -lm -pthread
 | 
						|
CC_SRCS = video_callback.c audio_callback.c jpeg.c setlinebuf.c mmc_format.c curl.c freopen.c opendir.c remove.c motor.c command.c gmtime_r.c wait_motion.c irled.c audio_play.c mp4write.c
 | 
						|
TARGET = libcallback.so
 | 
						|
 | 
						|
all: ${TARGET}
 | 
						|
 | 
						|
${TARGET}: ${CC_SRCS}
 | 
						|
	${CC} ${CFLAGS} -o ${TARGET} ${CC_SRCS}
 |