RetroArch/compat/rxml/Makefile

21 lines
276 B
Makefile
Raw Normal View History

TARGET := rxml
SOURCES := $(wildcard *.c)
OBJS := $(SOURCES:.c=.o)
2013-01-02 14:50:54 +00:00
CFLAGS += -DRXML_TEST -Wall -pedantic -std=gnu99 -O0 -g
all: $(TARGET)
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
$(TARGET): $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS)
clean:
rm -f $(TARGET) $(OBJS)
.PHONY: clean