From 4a35f8406044eed85d8acb758e9743dab59e1dc8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 23 Mar 2006 21:28:33 +0000 Subject: 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. --- Makefile.minimal | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.minimal') 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) -- cgit v1.2.1