nes-proj/cpu/mc1322x/lib/Makefile.lib

9 lines
205 B
Makefile
Raw Normal View History

# -*- makefile -*-
CFLAGS += -I$(LIBMC1322X)/include
LIBOBJS = $(patsubst %.c,%.o,$(wildcard $(LIBMC1322X)/*.c))
$(LIBMC1322X)/libmc1322x.a: $(LIBOBJS)
$(AR) rcs $(LIBMC1322X)/libmc1322x.a $(LIBOBJS)