Makefile.minimal
changeset 1603 64710b9f3eeb
parent 1533 38c1eb6b0083
child 2494 a72a5f62d6b7
     1.1 --- a/Makefile.minimal	Thu Mar 23 17:31:12 2006 +0000
     1.2 +++ b/Makefile.minimal	Thu Mar 23 21:28:33 2006 +0000
     1.3 @@ -5,6 +5,7 @@
     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 @@ -30,9 +31,12 @@
    1.12  
    1.13  all: $(TARGET)
    1.14  
    1.15 -$(TARGET): $(OBJECTS)
    1.16 +$(TARGET): $(CONFIG_H) $(OBJECTS)
    1.17  	$(AR) crv $@ $^
    1.18  	$(RANLIB) $@
    1.19  
    1.20 +$(CONFIG_H):
    1.21 +	cp $(CONFIG_H).default $(CONFIG_H)
    1.22 +
    1.23  clean:
    1.24  	rm -f $(TARGET) $(OBJECTS)