From 87a24ba76528aece79450cb6ffc598cc81d47396 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 27 Dec 2022 16:50:18 -0800 Subject: [PATCH] The minimal Makefile doesn't really build for any platform --- Makefile.minimal | 61 ------------------------------------------------ 1 file changed, 61 deletions(-) delete mode 100644 Makefile.minimal diff --git a/Makefile.minimal b/Makefile.minimal deleted file mode 100644 index 0a69413dd..000000000 --- a/Makefile.minimal +++ /dev/null @@ -1,61 +0,0 @@ -# Makefile to build the SDL library - -INCLUDE = -I./include -CFLAGS = -g -O2 $(INCLUDE) -AR = ar -RANLIB = ranlib - -TARGET = libSDL3.a -TESTTARGET = libSDL3_test.a - -SOURCES = \ - src/*.c \ - src/atomic/*.c \ - src/audio/*.c \ - src/audio/dummy/*.c \ - src/cpuinfo/*.c \ - src/events/*.c \ - src/file/*.c \ - src/haptic/*.c \ - src/haptic/dummy/*.c \ - src/hidapi/*.c \ - src/joystick/*.c \ - src/joystick/dummy/*.c \ - src/loadso/dummy/*.c \ - src/power/*.c \ - src/filesystem/dummy/*.c \ - src/locale/*.c \ - src/locale/dummy/*.c \ - src/misc/*.c \ - src/misc/dummy/*.c \ - src/render/*.c \ - src/render/software/*.c \ - src/sensor/*.c \ - src/sensor/dummy/*.c \ - src/stdlib/*.c \ - src/libm/*.c \ - src/thread/*.c \ - src/thread/generic/*.c \ - src/timer/*.c \ - src/timer/dummy/*.c \ - src/video/*.c \ - src/video/yuv2rgb/*.c \ - src/video/dummy/*.c \ - -TSOURCES = src/test/*.c - -OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g') -TOBJECTS= $(shell echo $(TSOURCES) | sed -e 's,\.c,\.o,g') - -all: $(TARGET) $(TESTTARGET) - -$(TARGET): $(OBJECTS) - $(AR) crv $@ $^ - $(RANLIB) $@ - -$(TESTTARGET): $(TOBJECTS) - $(AR) crv $@ $^ - $(RANLIB) $@ - -clean: - rm -f $(TARGET) $(TESTTARGET) $(OBJECTS) $(TOBJECTS)