#VERBOSE = --verbose
-OBJECTS = tinibios.rel memcpyx.rel lcd390.rel i2c390.rel rtc390.rel
+OBJECTS = tinibios.rel memcpyx.rel lcd390.rel i2c390.rel rtc390.rel putchar.rel
SOURCES = $(patsubst %.rel,%.c,$(OBJECTS))
CPPFLAGS = -I$(srcdir)/../../include
-CFLAGS = -mds390 $(CPPFLAGS) $(VERBOSE)
+CFLAGS = -mds390 $(CPPFLAGS) $(VERBOSE) --std-c89
all: $(OBJECTS) libds390.lib
clean:
- rm -f *.lst *.rel *.sym *.cdb *.asm \#* *~ *.rst *.hex
+ rm -f *.lst *.rel *.sym *.cdb *.asm \#* *~ *.rst *.hex
rm -f *.ihx temp.lnk *.map *.lib
distclean: clean
done
ifeq "$(findstring $(MAKECMDGOALS),clean distclean)" ""
- include Makefile.dep
+ -include Makefile.dep
endif