build: Use portable compiler flag constructs in header compilation rule

pull/28/head
Diego Biurrun 13 years ago
parent 24f8961f93
commit 42ade117dd
  1. 2
      Makefile

@ -46,7 +46,7 @@ COMPILE_S = $(call COMPILE,AS)
$(COMPILE_S)
%.ho: %.h
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ -x c $<
$(CC) $(CCFLAGS) -c $(CC_O) -x c $<
%.ver: %.v
$(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@

Loading…
Cancel
Save