瀏覽代碼

[Pal/Skeleton] Remove header dependency from Makefile

Isaku Yamahata 4 年之前
父節點
當前提交
d524bd7e30
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      Pal/src/host/Skeleton/Makefile

+ 2 - 3
Pal/src/host/Skeleton/Makefile

@@ -11,7 +11,6 @@ CFLAGS += $(defs)
 ASFLAGS += $(defs)
 objs	= $(addprefix db_,files devices pipes eventfd sockets streams memory threading \
 	    mutex events process object main rtld misc exception)
-headers	= $(wildcard *.h) $(wildcard ../../*.h) $(wildcard ../../../lib/*.h)
 
 .PHONY: all
 all: $(host_files)
@@ -19,10 +18,10 @@ all: $(host_files)
 libpal-Skeleton.a: $(addsuffix .o,$(objs))
 	$(call cmd,ar_a_o)
 
-%.o: %.c $(headers)
+%.o: %.c
 	$(call cmd,cc_o_c)
 
-%.o: %.S $(headers)
+%.o: %.S
 	$(call cmd,as_o_S)
 
 include ../../../../Scripts/Makefile.rules