Makefile.minimal
changeset 1603 64710b9f3eeb
parent 1533 38c1eb6b0083
child 2494 a72a5f62d6b7
--- a/Makefile.minimal	Thu Mar 23 17:31:12 2006 +0000
+++ b/Makefile.minimal	Thu Mar 23 21:28:33 2006 +0000
@@ -5,6 +5,7 @@
 AR	= ar
 RANLIB	= ranlib
 
+CONFIG_H = include/SDL_config.h
 TARGET  = libSDL.a
 SOURCES = \
 	src/*.c \
@@ -30,9 +31,12 @@
 
 all: $(TARGET)
 
-$(TARGET): $(OBJECTS)
+$(TARGET): $(CONFIG_H) $(OBJECTS)
 	$(AR) crv $@ $^
 	$(RANLIB) $@
 
+$(CONFIG_H):
+	cp $(CONFIG_H).default $(CONFIG_H)
+
 clean:
 	rm -f $(TARGET) $(OBJECTS)