Just to make sure I don't loose them again when syncing with cvs.
[fw/sdcc] / src / xa51 / Makefile.bcc
1 PRJDIR = ../..
2
3 # !include $(PRJDIR)/Makefile.common
4
5 OBJ = gen.obj ralloc.obj main.obj
6 LIB = port.lib
7
8 !include ..\..\Bcc.inc
9 CFLAGS  = -I.. -I. -I..\.. -I..\..\support
10
11 all: $(LIB)
12
13 main.obj: main.c peeph.rul
14
15 $(LIB): peeph.rul $(OBJ)
16         del $(LIB)
17         tlib /a $(LIB) +gen.obj +ralloc.obj +main.obj
18         
19 peeph.rul: peeph.def
20         gawk -f ../SDCCpeeph.awk peeph.def > peeph.rul
21
22 # include clean.mk