9a8004c177
fixed lib ordering on link command
8 lines
205 B
Makefile
8 lines
205 B
Makefile
# -*- makefile -*-
|
|
|
|
CFLAGS += -I$(LIBMC1322X)/include
|
|
|
|
LIBOBJS = $(patsubst %.c,%.o,$(wildcard $(LIBMC1322X)/*.c))
|
|
|
|
$(LIBMC1322X)/libmc1322x.a: $(LIBOBJS)
|
|
$(AR) rcs $(LIBMC1322X)/libmc1322x.a $(LIBOBJS)
|