# !include $(PRJDIR)/Makefile.common
-OBJ = gen.obj genarith.obj ralloc.obj main.obj glue.obj pcode.obj pcodepeep.obj
+OBJ = device.obj gen.obj genarith.obj ralloc.obj main.obj glue.obj pcode.obj pcodeflow.obj pcodepeep.obj pcoderegs.obj
LIB = port.lib
!include ..\..\Bcc.inc
main.obj: main.c peeph.rul
$(LIB): peeph.rul $(OBJ)
- del $(LIB)
- tlib /a $(LIB) +gen.obj +genarith.obj +ralloc.obj +main.obj +glue.obj
- tlib /a $(LIB) +pcode.obj +pcodepeep.obj
+ if exist $(LIB) del $(LIB)
+ tlib /a $(LIB) +device.obj +gen.obj +genarith.obj +ralloc.obj +main.obj +glue.obj
+ tlib /a $(LIB) +pcode.obj +pcodeflow.obj +pcodepeep.obj +pcoderegs.obj
peeph.rul: peeph.def
gawk -f ../SDCCpeeph.awk peeph.def > peeph.rul