Browse Source

[Pal/Skeleton] Remove header dependency from Makefile

Isaku Yamahata 4 years ago
parent
commit
d524bd7e30
1 changed files with 2 additions and 3 deletions
  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