projects
/
gbajam22
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[gbajam22]
/
libs
/
maxmod
/
Makefile
1
src = $(wildcard *.S)
2
obj = $(src:.S=.o)
3
lib_a = libmm.a
4
5
TCPREFIX ?= arm-none-eabi-
6
CC = $(TCPREFIX)gcc
7
AS = $(TCPREFIX)as
8
AR = $(TCPREFIX)ar
9
10
ASFLAGS = -mcpu=arm7tdmi -mtune=arm7tdmi -mthumb -mthumb-interwork -DSYS_GBA -DUSE_IWRAM
11
12
$(lib_a): $(obj)
13
$(AR) rcs $@ $(obj)
14
15
.PHONY: clean
16
clean:
17
rm -f $(obj) $(lib_a)