Makefile.dc
changeset 1868 c8f42ed8805e
parent 1533 38c1eb6b0083
child 1895 c121d94672cb
--- a/Makefile.dc	Tue Jun 20 05:55:23 2006 +0000
+++ b/Makefile.dc	Tue Jun 20 06:39:01 2006 +0000
@@ -100,8 +100,12 @@
 	test/threadwin.c \
 	test/torturethread.c \
 
-$(TARGET): $(OBJS)
-	$(AR) rcs $(TARGET) $(OBJS)
+$(TARGET): copy_config \
+	$(OBJS)
+	$(AR) rcs $(TARGET) $(OBJS) 
+
+copy_config:
+	@cp include/SDL_config.h.default include/SDL_config.h
 
 clean:
-	rm -f $(OBJS)
+	rm -f include/SDL_config.h $(OBJS)