-PRJDIR = ../..
-
-include $(PRJDIR)/Makefile.common
-
-OBJ = ralloc.o main.o gen.o
-LIB = port.a
-
-CFLAGS += -I.. -I. -I../..
-
-all: $(LIB)
-
-main.o: main.c peeph.rul
-
-$(LIB): peeph.rul $(OBJ)
- rm -f $(LIB)
- ar r $(LIB) $(OBJ)
- $(RANLIB) $(LIB)
-
-peeph.rul: peeph.def
- $(AWK) -f ../SDCCpeeph.awk peeph.def > peeph.rul
-
-include clean.mk
+# Make all in this directory
+include ../port.mk