blob: e8d49a16a679c6c6854d80455bc4b3d6c3944838 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
.PHONY: clean
CFLAGS = -g -W -Wall -std=c11 `sdl2-config --cflags`
LDFLAGS = `sdl2-config --libs` -lpng -ljpeg -ltiff
TARGET = imv
SOURCES = $(wildcard *.c)
OBJECTS = $(SOURCES:%.c=%.o)
$(TARGET): $(OBJECTS)
$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
clean:
$(RM) $(TARGET) $(OBJECTS)
|