mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
25 lines
394 B
Makefile
25 lines
394 B
Makefile
TARGET := compat_fnmatch_test
|
|
|
|
LIBRETRO_COMM_DIR := ../../..
|
|
|
|
SOURCES := \
|
|
compat_fnmatch_test.c \
|
|
$(LIBRETRO_COMM_DIR)/compat/compat_fnmatch.c
|
|
|
|
OBJS := $(SOURCES:.c=.o)
|
|
|
|
CFLAGS += -Wall -pedantic -std=gnu99 -g -I$(LIBRETRO_COMM_DIR)/include
|
|
|
|
all: $(TARGET)
|
|
|
|
%.o: %.c
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(CC) -o $@ $^ $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -f $(TARGET) $(OBJS)
|
|
|
|
.PHONY: clean
|