Updated make file, and testing compile with DLMSTP datalink.

This commit is contained in:
skarg
2007-08-16 00:37:56 +00:00
parent f2e0bbe834
commit 75302f4843
5 changed files with 75 additions and 29 deletions
-1
View File
@@ -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 */
+4 -4
View File
@@ -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