Built SDL2_image and _mixer static

This commit is contained in:
2022-09-30 15:49:16 -04:00
parent e2605bf6c1
commit 1dec4347e0
4473 changed files with 1964551 additions and 9 deletions

View File

@ -0,0 +1,14 @@
# Makefile for showimage
CC = gcc
CFLAGS = $(shell sdl2-config --cflags) -Wall -O
LIBS = $(shell sdl2-config --libs) -lSDL2_image
EXE = showimage
all: $(EXE)
showimage: showimage.c Makefile
$(CC) -o $@ $@.c $(CFLAGS) $(LIBS)
clean:
-rm *.o $(EXE)