mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-01 04:00:32 +00:00
21 lines
276 B
Makefile
21 lines
276 B
Makefile
TARGET := rxml
|
|
|
|
SOURCES := $(wildcard *.c)
|
|
OBJS := $(SOURCES:.c=.o)
|
|
|
|
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
|
|
|