lldb/test/API/lang/objc/modules-hash-mismatch/Makefile
raw| 1 | OBJC_SOURCES := main.m |
| 2 | CFLAGS_EXTRAS = -I$(BUILDDIR) |
| 3 | USE_PRIVATE_MODULE_CACHE = YES |
| 4 | |
| 5 | .PHONY: update-module |
| 6 | |
| 7 | all: $(EXE) |
| 8 | $(MAKE) -f $(SRCDIR)/Makefile update-module |
| 9 | |
| 10 | include Makefile.rules |
| 11 | |
| 12 | update-module: |
| 13 | echo "forcing an update of f.pcm" |
| 14 | echo "typedef int something_other;" > $(BUILDDIR)/f.h |
| 15 | $(CC) $(CFLAGS) $(MANDATORY_MODULE_BUILD_CFLAGS) \ |
| 16 | -c $(SRCDIR)/other.m -o $(BUILDDIR)/other.o |