
LIB			= libmu.a

SRCS_C		= $(wildcard *.c)
SRCS_S		= $(wildcard *.s)
OBJS		= $(subst .c,.o,$(SRCS_C)) $(subst .s,.o,$(SRCS_S))

CFLAGS		= -O2 -m68020 -fomit-frame-pointer
CC			= gcc
AS			= gas

.PHONY : all clean

all: $(LIB)

clean:
	@rm $(OBJS) $(LIB)

$(LIB): $(OBJS) makefile
	gcc_ar rs $(LIB) $(OBJS)

