Removed ports.c
This commit is contained in:
parent
284802b283
commit
9f086db4a9
6
Makefile
6
Makefile
@ -12,7 +12,7 @@ FLASHFILE ?= main.ihx
|
|||||||
SYSCLK ?= 12000
|
SYSCLK ?= 12000
|
||||||
CFLAGS ?= -DWITH_ALT_LED9 -DWITHOUT_LEDTABLE_RELOC -DSHOW_TEMP_DATE_WEEKDAY
|
CFLAGS ?= -DWITH_ALT_LED9 -DWITHOUT_LEDTABLE_RELOC -DSHOW_TEMP_DATE_WEEKDAY
|
||||||
|
|
||||||
LIBSRC = ports.c adc.c setpin_lo.c setpin_hi.c setpin.c ss_display.c stc15_configure_pin.c
|
LIBSRC = adc.c setpin_lo.c setpin_hi.c setpin.c ss_display.c stc15_configure_pin.c
|
||||||
|
|
||||||
|
|
||||||
LIBOBJ =$(patsubst %.c,%.rel, $(LIBSRC))
|
LIBOBJ =$(patsubst %.c,%.rel, $(LIBSRC))
|
||||||
@ -24,10 +24,6 @@ PRGOBJ =$(patsubst %.c,%.rel, $(PRGSRC))
|
|||||||
|
|
||||||
$(FLASHFILE): $(LIBNAME) $(PRGOBJ)
|
$(FLASHFILE): $(LIBNAME) $(PRGOBJ)
|
||||||
$(SDCC) -o $(FLASHFILE) $(SDCCOPTS) $(SDCCREV) $(CFLAGS) $(PRGOBJ) $(LIBNAME)
|
$(SDCC) -o $(FLASHFILE) $(SDCCOPTS) $(SDCCREV) $(CFLAGS) $(PRGOBJ) $(LIBNAME)
|
||||||
#// @ tail -n 5 build/main.mem | head -n 2
|
|
||||||
#// @ tail -n 1 build/main.mem
|
|
||||||
# cp build/$@.ihx $@.hex
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$(LIBNAME): $(LIBOBJ)
|
$(LIBNAME): $(LIBOBJ)
|
||||||
|
Loading…
Reference in New Issue
Block a user