瀏覽代碼

Add "net" directory.

Avoid including debug information in bin/%.s output, since the whole
point is to have easy-to-read assembler.
tags/v0.9.3
Michael Brown 18 年之前
父節點
當前提交
e323d1a29b
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      src/Makefile

+ 2
- 1
src/Makefile 查看文件

@@ -119,7 +119,7 @@ RULE_c		= $(COMPILE_c) -c $< -o $@
119 119
 RULE_c_to_dbg.o	= $(COMPILE_c) -Ddebug_$(OBJECT) -c $< -o $@
120 120
 RULE_c_to_dbg2.o = $(COMPILE_c) -Ddebug_$(OBJECT)=2 -c $< -o $@
121 121
 RULE_c_to_c	= $(COMPILE_c) -E -c $< > $@
122
-RULE_c_to_s	= $(COMPILE_c) -S -c $< -o $@ 
122
+RULE_c_to_s	= $(COMPILE_c) -S -g0 -c $< -o $@ 
123 123
 
124 124
 PREPROCESS_S	= $(CPP) $(CFLAGS) $(CFLAGS_S) $(OBJ_CFLAGS)
125 125
 ASSEMBLE_S	= $(AS) $(ASFLAGS)
@@ -132,6 +132,7 @@ DEBUG_TARGETS	+= dbg2.o dbg.o c s
132 132
 #
133 133
 SRCDIRS		+= core
134 134
 SRCDIRS		+= proto
135
+SRCDIRS		+= net
135 136
 SRCDIRS		+= proto/uip
136 137
 #SRCDIRS		+= image
137 138
 SRCDIRS		+= drivers/bus

Loading…
取消
儲存