projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1419c26030c9f387a8e268e629ff3572cfab72fa
[fw/sdcc]
/
src
/
avr
/
Makefile
1
PRJDIR = ../..
2
3
include $(PRJDIR)/Makefile.common
4
5
OBJ = gen.o ralloc.o main.o
6
LIB = port.a
7
8
CFLAGS = -ggdb -Wall -O2
9
CFLAGS += -I.. -I. -I../..
10
11
all: $(LIB)
12
13
main.o: main.c peeph.rul
14
15
$(LIB): peeph.rul $(OBJ)
16
rm -f $(LIB)
17
ar r $(LIB) $(OBJ)
18
ranlib $(LIB)
19
20
peeph.rul: peeph.def
21
$(AWK) -f ../SDCCpeeph.awk peeph.def > peeph.rul
22
23
include clean.mk