Makefile.minimal
changeset 5310 a9945ce48999
parent 3170 b7a48f533966
child 7667 be1cc6f55840
--- a/Makefile.minimal	Wed Feb 16 01:40:44 2011 -0800
+++ b/Makefile.minimal	Wed Feb 16 02:37:09 2011 -0800
@@ -5,41 +5,37 @@
 AR	= ar
 RANLIB	= ranlib
 
-CONFIG_H = include/SDL_config.h
 TARGET  = libSDL.a
 SOURCES = \
 	src/*.c \
 	src/audio/*.c \
-	src/cdrom/*.c \
+	src/audio/dummy/*.c \
 	src/cpuinfo/*.c \
 	src/events/*.c \
 	src/file/*.c \
+	src/haptic/*.c \
+	src/haptic/dummy/*.c \
 	src/joystick/*.c \
-	src/haptic/*.c \
+	src/joystick/dummy/*.c \
+	src/loadso/dummy/*.c \
+	src/power/*.c \
+	src/render/*.c \
+	src/render/software/*.c \
 	src/stdlib/*.c \
 	src/thread/*.c \
+	src/thread/generic/*.c \
 	src/timer/*.c \
+	src/timer/dummy/*.c \
 	src/video/*.c \
-	src/power/*.c \
-	src/audio/dummy/*.c \
 	src/video/dummy/*.c \
-	src/joystick/dummy/*.c \
-	src/haptic/dummy/*.c \
-	src/cdrom/dummy/*.c \
-	src/thread/generic/*.c \
-	src/timer/dummy/*.c \
-	src/loadso/dummy/*.c \
 
 OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g')
 
 all: $(TARGET)
 
-$(TARGET): $(CONFIG_H) $(OBJECTS)
+$(TARGET): $(OBJECTS)
 	$(AR) crv $@ $^
 	$(RANLIB) $@
 
-$(CONFIG_H):
-	cp $(CONFIG_H).default $(CONFIG_H)
-
 clean:
 	rm -f $(TARGET) $(OBJECTS)