Makefile.pandora
changeset 3218 81773a1eac83
parent 3170 b7a48f533966
child 4471 11cedc036ca1
     1.1 --- a/Makefile.pandora	Sun Jul 19 08:04:59 2009 +0000
     1.2 +++ b/Makefile.pandora	Thu Jul 30 14:53:57 2009 +0000
     1.3 @@ -8,7 +8,7 @@
     1.4  
     1.5  CFLAGS  = -O3 -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp \
     1.6  	-mfpu=neon -ftree-vectorize -ffast-math -fomit-frame-pointer -fno-strict-aliasing -fsingle-precision-constant \
     1.7 -	-I./include -I$(PNDSDK)/usr/include
     1.8 +	-I./include -I$(PNDSDK)/usr/include -DSDL_REVISION=0
     1.9  
    1.10  TARGET  = libSDL.a
    1.11  
    1.12 @@ -24,14 +24,13 @@
    1.13  
    1.14  OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g')
    1.15  
    1.16 +CONFIG_H = $(shell cp include/SDL_config_pandora.h include/SDL_config.h && touch include/SDL_revision.h)
    1.17 +
    1.18  all: $(TARGET)
    1.19  
    1.20  $(TARGET): $(CONFIG_H) $(OBJECTS)
    1.21  	$(AR) crv $@ $^
    1.22  	$(RANLIB) $@
    1.23  
    1.24 -$(CONFIG_H):
    1.25 -	cp include/SDL_config_pandora.h include/SDL_config.h
    1.26 -
    1.27  clean:
    1.28  	rm -f $(TARGET) $(OBJECTS)