• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1OBJC_SOURCES := main.m
2CFLAGS_EXTRAS = -I$(BUILDDIR)
3USE_PRIVATE_MODULE_CACHE = YES
4
5.PHONY: update-module
6
7all: $(EXE)
8	$(MAKE) -f $(SRCDIR)/Makefile update-module
9
10include Makefile.rules
11
12update-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
17