Updated make file, and testing compile with DLMSTP datalink.
This commit is contained in:
@@ -40,7 +40,6 @@ uint16_t MSTP_Packets = 0;
|
||||
/* receive buffer */
|
||||
static DLMSTP_PACKET Receive_Packet;
|
||||
static DLMSTP_PACKET Transmit_Packet;
|
||||
/* temp buffer for NPDU insertion */
|
||||
/* local MS/TP port data - shared with RS-485 */
|
||||
static volatile struct mstp_port_struct_t MSTP_Port;
|
||||
/* buffers needed by mstp port struct */
|
||||
|
||||
@@ -88,11 +88,11 @@ lib: $(LIBRARY)
|
||||
$(LIBRARY): $(COREOBJ) Makefile
|
||||
$(AR) rcs $@ $(COREOBJ)
|
||||
|
||||
$(COBJ): %.o : %.c Makefile
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $*.c -o $@
|
||||
|
||||
$(AOBJ): %.o : %.s Makefile
|
||||
$(CC) -c $(AFLAGS) $< -o $@
|
||||
.s.o:
|
||||
$(CC) -c $(AFLAGS) $*.s -o $@
|
||||
|
||||
clean:
|
||||
touch Makefile
|
||||
|
||||
Reference in New Issue
Block a user