X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device%2Flib%2Fds390%2FMakefile.in;h=3dda5c5c0a9645455879af86a9d078c6580cc0b0;hb=011a73edf0a9ef1e9c50cdf01c94050bbfc70bdf;hp=e5ab78caa6d3251d3043d6e0b0a6d65cfb9798f4;hpb=c42e9051755428d14eb620abc9eda86d43479a1a;p=fw%2Fsdcc diff --git a/device/lib/ds390/Makefile.in b/device/lib/ds390/Makefile.in old mode 100755 new mode 100644 index e5ab78ca..3dda5c5c --- a/device/lib/ds390/Makefile.in +++ b/device/lib/ds390/Makefile.in @@ -5,17 +5,17 @@ CC = ../../../bin/sdcc #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../../include -CFLAGS = -mds390 $(CPPFLAGS) $(VERBOSE) +CPPFLAGS = -I$(srcdir)/../../include +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 @@ -43,5 +43,5 @@ Makefile.dep: $(SOURCES) done ifeq "$(findstring $(MAKECMDGOALS),clean distclean)" "" - include Makefile.dep + -include Makefile.dep endif