summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lldb/packages/Python/lldbsuite/test/lang/objc/modules-hash-mismatch/Makefile
blob: 59bf009f68677bdfe3072222e20879f728d09b8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
OBJC_SOURCES := main.m
CFLAGS_EXTRAS = -I$(BUILDDIR)
USE_PRIVATE_MODULE_CACHE = YES

.PHONY: update-module

all: $(EXE)
	$(MAKE) -f $(SRCDIR)/Makefile update-module

include Makefile.rules

update-module:
	echo "forcing an update of f.pcm"
	echo "typedef int something_other;" > $(BUILDDIR)/f.h
	$(CC) $(CFLAGS) $(MANDATORY_MODULE_BUILD_CFLAGS) \
		-c $(SRCDIR)/other.m -o $(BUILDDIR)/other.o