diff options
author | Sam Lantinga <slouken@libsdl.org> | 2006-03-23 21:28:33 +0000 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2006-03-23 21:28:33 +0000 |
commit | 4a35f8406044eed85d8acb758e9743dab59e1dc8 (patch) | |
tree | b68145fcfa05d8814bedd4add32c66beefaa672b /Makefile.minimal | |
parent | 41322c726901526e561350eac627a9cbe86f7d0d (diff) | |
download | sdl-4a35f8406044eed85d8acb758e9743dab59e1dc8.tar.gz |
Fixed bug #171
SDL_config.h is no longer in CVS. Instead, configure will generate it for
systems that use configure, and we always copy SDL_config.h.default to
SDL_config.h before generating a snapshot or release archive.
Also fixed a couple of uninstall issues.
Diffstat (limited to 'Makefile.minimal')
-rw-r--r-- | Makefile.minimal | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.minimal b/Makefile.minimal index e54452db0..827621c3f 100644 --- a/Makefile.minimal +++ b/Makefile.minimal @@ -5,6 +5,7 @@ CFLAGS = -g -O2 $(INCLUDE) AR = ar RANLIB = ranlib +CONFIG_H = include/SDL_config.h TARGET = libSDL.a SOURCES = \ src/*.c \ @@ -30,9 +31,12 @@ OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g') all: $(TARGET) -$(TARGET): $(OBJECTS) +$(TARGET): $(CONFIG_H) $(OBJECTS) $(AR) crv $@ $^ $(RANLIB) $@ +$(CONFIG_H): + cp $(CONFIG_H).default $(CONFIG_H) + clean: rm -f $(TARGET) $(OBJECTS) |