1 # Makefile to build the SDL library
4 CFLAGS = -g -O2 $(INCLUDE)
8 CONFIG_H = include/SDL_config.h
24 src/joystick/dummy/*.c \
26 src/thread/generic/*.c \
28 src/loadso/dummy/*.c \
30 OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g')
34 $(TARGET): $(CONFIG_H) $(OBJECTS)
39 cp $(CONFIG_H).default $(CONFIG_H)
42 rm -f $(TARGET) $(OBJECTS)