blob: 58f9efcf32ec97fa11f882237417d6a5629586e3 (
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 -lfreeimage
TARGET = imv
SOURCES = $(wildcard *.c)
OBJECTS = $(SOURCES:%.c=%.o)
$(TARGET): $(OBJECTS)
$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
clean:
$(RM) $(TARGET) $(OBJECTS)
|