RetroArch/gfx/rpng/Makefile

21 lines
268 B
Makefile
Raw Normal View History

2013-01-12 13:05:05 +00:00
TARGET := rpng
SOURCES := $(wildcard *.c)
OBJS := $(SOURCES:.c=.o)
CFLAGS += -Wall -pedantic -std=gnu99 -O0 -g
all: $(TARGET)
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
$(TARGET): $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS) -lz
clean:
rm -f $(TARGET) $(OBJS)
.PHONY: clean