RetroArch/gfx/rpng/Makefile

21 lines
350 B
Makefile
Raw Normal View History

2013-01-12 13:05:05 +00:00
TARGET := rpng
SOURCES := $(wildcard *.c)
OBJS := $(SOURCES:.c=.o)
2015-01-26 18:06:31 +00:00
CFLAGS += -Wall -pedantic -std=gnu99 -O0 -g -DHAVE_ZLIB -DHAVE_ZLIB_DEFLATE -DRPNG_TEST -I../../libretro-sdk/include
2013-01-12 13:05:05 +00:00
all: $(TARGET)
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
$(TARGET): $(OBJS)
2013-01-19 00:31:24 +00:00
$(CC) -o $@ $^ $(LDFLAGS) -lz -lImlib2
2013-01-12 13:05:05 +00:00
clean:
rm -f $(TARGET) $(OBJS)
.PHONY: clean