1DIR = ../../src/autogen
2ALL = $(DIR)/MPH_to_3DGroup.h $(DIR)/MPH_to_AudioPlayer.h $(DIR)/MPH_to_AudioRecorder.h \
3    $(DIR)/MPH_to_Engine.h $(DIR)/MPH_to_LEDDevice.h $(DIR)/MPH_to_Listener.h \
4    $(DIR)/MPH_to_MetadataExtractor.h $(DIR)/MPH_to_MidiPlayer.h $(DIR)/MPH_to_OutputMix.h \
5    $(DIR)/MPH_to_Vibra.h
6
7$(ALL) : mphtogen
8	./mphtogen
9
10mphtogen : mphtogen.c MPH_to.c MPH.h MPH_to.h
11# Add -DANDROID if both (a) building for Android, and (b) not
12# using -DUSE_DESIGNATED_INITIALIZERS in ../../src/Android.mk
13	gcc -o $@ -DUSE_DESIGNATED_INITIALIZERS mphtogen.c MPH_to.c
14
15clean :
16	$(RM) mphtogen
17