Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 253 Bytes

Makefile

File metadata and controls

14 lines (10 loc) · 253 Bytes
 
Feb 15, 2013
Feb 15, 2013
1
2
3
4
5
6
7
8
9
10
11
12
13
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)