diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-10-08 17:48:29 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-10-17 17:25:35 +0300 |
commit | 93d5b022a9fd3a1a1f9c521a1eac7f0410e05b81 (patch) | |
tree | 71908309521a4a6267ab3408f2c52881590f68f9 /Makefile | |
parent | c91d6a33f872574c95c8784277cf60ffcf6bff4f (diff) |
build: Drop duplicate asm recipe
And move the asm recipe to the top-level Makefile next to the other
local pattern rules for .o files.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -56,6 +56,11 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC) %_host.o: %.c $(COMPILE_HOSTC) +%.o: %.asm + $(DEPYASM) $(YASMFLAGS) -I $(<D)/ -M -o $@ $< > $(@:.o=.d) + $(YASM) $(YASMFLAGS) -I $(<D)/ -o $@ $< + -$(STRIP) $(STRIPFLAGS) $@ + %.i: %.c $(CC) $(CCFLAGS) $(CC_E) $< |