forked from len0rd/rockbox
		
	git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7656 a1c6a512-1295-4272-9138-f99709370657
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			401 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			401 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| # Simple Makefile for standalone testing of decoder
 | |
| 
 | |
| OBJS=main.o decoder.o bitstream.o
 | |
| CFLAGS=-O2 -Wall -DBUILD_STANDALONE
 | |
| CC=gcc
 | |
| 
 | |
| # Uncomment the next line to build on a big-endian target:
 | |
| 
 | |
| #CFLAGS += -DBUILD_BIGENDIAN
 | |
| 
 | |
| all: test
 | |
| 
 | |
| main.o: main.c decoder.h
 | |
| decoder.o: decoder.c bitstream.h golomb.h decoder.h
 | |
| bitstream.o: bitstream.c
 | |
| 
 | |
| test: $(OBJS)
 | |
| 	gcc -o test $(OBJS)
 | |
| 
 | |
| clean:
 | |
| 	rm -f test $(OBJS) *~
 |