RetroArch/gfx/rpng/Makefile

21 lines
309 B
Makefile
Raw Normal View History

2013-01-12 13:05:05 +00:00
TARGET := rpng
SOURCES := $(wildcard *.c)
OBJS := $(SOURCES:.c=.o)
2013-01-19 01:13:02 +00:00
CFLAGS += -Wall -pedantic -std=gnu99 -O0 -g -DHAVE_ZLIB -DHAVE_ZLIB_DEFLATE
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