* .version: bumped version number to 2.4.8
[fw/sdcc] / device / lib / pic16 / libsdcc / Makefile
index bd6b60d36dceabed1acd0d996c65ea82670aaa71..5aed8cd23da14f92a9d734fd7a8c8ca03920cc32 100644 (file)
@@ -18,6 +18,10 @@ DIRS =       char \
                float \
                gptr
 
+#              lregs
+#              fixed16_16
+
+LOBJS  = $(patsubst %,%/*.o,$(DIRS))
 
 LIB    = libsdcc.lib
 
@@ -29,7 +33,7 @@ build-libraries:
        for dir in $(DIRS) ; do  \
                $(MAKE) -C $$dir ; \
        done;
-       gplib -c $(LIB) char/*.o int/*.o long/*.o float/*.o gptr/*.o
+       gplib -c $(LIB) $(LOBJS)
        mv -v $(LIB) ../bin