* src/pic/device.c (pic14_assignConfigWordValue): remember assignments to
[fw/sdcc] / src / pic / Makefile
index c9556e90ef7f4c1faf473e300946e8a5ec8fefef..6fff46febab193ea02821adf5bc2411a876b456d 100644 (file)
@@ -1,23 +1,4 @@
-PRJDIR = ../..
+# Make all in this directory
+PORT   = pic
 
-include $(PRJDIR)/Makefile.common
-
-OBJ = gen.o ralloc.o main.o glue.o
-LIB = port.a
-
-CFLAGS = -ggdb -Wall -O2
-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
+include ../port.mk