Makefile.minimal
changeset 5310 a9945ce48999
parent 3170 b7a48f533966
child 7667 be1cc6f55840
     1.1 --- a/Makefile.minimal	Wed Feb 16 01:40:44 2011 -0800
     1.2 +++ b/Makefile.minimal	Wed Feb 16 02:37:09 2011 -0800
     1.3 @@ -5,41 +5,37 @@
     1.4  AR	= ar
     1.5  RANLIB	= ranlib
     1.6  
     1.7 -CONFIG_H = include/SDL_config.h
     1.8  TARGET  = libSDL.a
     1.9  SOURCES = \
    1.10  	src/*.c \
    1.11  	src/audio/*.c \
    1.12 -	src/cdrom/*.c \
    1.13 +	src/audio/dummy/*.c \
    1.14  	src/cpuinfo/*.c \
    1.15  	src/events/*.c \
    1.16  	src/file/*.c \
    1.17 +	src/haptic/*.c \
    1.18 +	src/haptic/dummy/*.c \
    1.19  	src/joystick/*.c \
    1.20 -	src/haptic/*.c \
    1.21 +	src/joystick/dummy/*.c \
    1.22 +	src/loadso/dummy/*.c \
    1.23 +	src/power/*.c \
    1.24 +	src/render/*.c \
    1.25 +	src/render/software/*.c \
    1.26  	src/stdlib/*.c \
    1.27  	src/thread/*.c \
    1.28 +	src/thread/generic/*.c \
    1.29  	src/timer/*.c \
    1.30 +	src/timer/dummy/*.c \
    1.31  	src/video/*.c \
    1.32 -	src/power/*.c \
    1.33 -	src/audio/dummy/*.c \
    1.34  	src/video/dummy/*.c \
    1.35 -	src/joystick/dummy/*.c \
    1.36 -	src/haptic/dummy/*.c \
    1.37 -	src/cdrom/dummy/*.c \
    1.38 -	src/thread/generic/*.c \
    1.39 -	src/timer/dummy/*.c \
    1.40 -	src/loadso/dummy/*.c \
    1.41  
    1.42  OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g')
    1.43  
    1.44  all: $(TARGET)
    1.45  
    1.46 -$(TARGET): $(CONFIG_H) $(OBJECTS)
    1.47 +$(TARGET): $(OBJECTS)
    1.48  	$(AR) crv $@ $^
    1.49  	$(RANLIB) $@
    1.50  
    1.51 -$(CONFIG_H):
    1.52 -	cp $(CONFIG_H).default $(CONFIG_H)
    1.53 -
    1.54  clean:
    1.55  	rm -f $(TARGET) $(OBJECTS)