[Pal/Skeleton] Remove header dependency from Makefile

This commit is contained in:
Isaku Yamahata
2020-02-05 23:21:06 -08:00
committed by Dmitrii Kuvaiskii
parent 8d65898d91
commit d524bd7e30
+2 -3
View File
@@ -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