@@ -26,9 +26,6 @@ PKG_DIRS=docs examples externals help init \
26
26
javascript jsextensions media patchers
27
27
28
28
29
-
30
-
31
-
32
29
# ifdef MYFLAG
33
30
# CFLAGS += -DMYFLAG
34
31
# endif
@@ -103,6 +100,9 @@ framework-pkg: clean-framework-pkg build-framework-pkg
103
100
104
101
framework-ext : clean-framework-ext build-framework-ext
105
102
103
+ pymx :
104
+ @bash source/projects/pymx/build_pymx.sh
105
+
106
106
107
107
max-check :
108
108
@echo $(PACKAGE )
@@ -119,7 +119,6 @@ dist:
119
119
120
120
121
121
122
-
123
122
# Building
124
123
# -----------------------------------------------------------------------
125
124
.PHONY : build build-extension \
@@ -192,9 +191,9 @@ style: clang-format
192
191
193
192
clang-format :
194
193
$(call section,"clang-format")
195
- @clang-format -i -style=file py.c
196
- @clang-format -i -style=file py.h
197
- @clang-format -i -style=file pyjs.c
194
+ @clang-format -i -style=file $( PYDIR ) / py.c
195
+ @clang-format -i -style=file $( PYDIR ) / py.h
196
+ @clang-format -i -style=file $( PYDIR ) / pyjs.c
198
197
199
198
lizard :
200
199
$(call section,"lizard complexity analysis")
@@ -210,7 +209,7 @@ duplo:
210
209
211
210
# Cleaning
212
211
# -----------------------------------------------------------------------
213
- .PHONY : reset clean clean-build clean-pkg clean- support clean-externals \
212
+ .PHONY : reset clean clean-build clean-support clean-externals \
214
213
clean-targets-build clean-local-sys \
215
214
clean-homebrew-pkg clean-homebrew-ext \
216
215
clean-framework-pkg clean-framework-ext \
@@ -219,7 +218,7 @@ duplo:
219
218
220
219
reset : clean clean-targets-build
221
220
222
- clean : clean-externals clean-build clean-support clean-pkg
221
+ clean : clean-externals clean-build clean-support
223
222
224
223
clean-build : clean-local-sys \
225
224
clean-homebrew-pkg clean-homebrew-ext \
@@ -237,41 +236,37 @@ clean-externals:
237
236
rm -rf ${ROOTDIR} /externals/$$ target.mxo ; \
238
237
done
239
238
239
+ clean-support :
240
+ $(call section,"cleaning support directory")
241
+ @rm -rf ${ROOTDIR} /support/*
242
+
240
243
clean-local-sys : clean-externals
241
244
$(call xclean-build,"local-sys")
242
245
243
- clean-homebrew-pkg :
246
+ clean-homebrew-pkg : clean-externals clean-support
244
247
$(call xclean-build,"homebrew-pkg")
245
248
246
- clean-homebrew-ext :
249
+ clean-homebrew-ext : clean-externals
247
250
$(call xclean-build,"homebrew-ext")
248
251
249
- clean-framework-pkg :
252
+ clean-framework-pkg : clean-externals clean-support
250
253
$(call xclean-build,"framework-pkg")
251
254
252
- clean-framework-ext :
255
+ clean-framework-ext : clean-externals
253
256
$(call xclean-build,"framework-ext")
254
257
255
- clean-shared-pkg :
258
+ clean-shared-pkg : clean-externals clean-support
256
259
$(call xclean-build,"shared-pkg")
257
260
258
- clean-shared-ext :
261
+ clean-shared-ext : clean-externals
259
262
$(call xclean-build,"shared-ext")
260
263
261
- clean-static-pkg :
264
+ clean-static-pkg : clean-externals clean-support
262
265
$(call xclean-build,"static-pkg")
263
266
264
- clean-static-ext :
267
+ clean-static-ext : clean-externals
265
268
$(call xclean-build,"static-ext")
266
269
267
- clean-support :
268
- $(call section,"cleaning support directory")
269
- @rm -rf ${ROOTDIR} /support/*
270
-
271
- clean-pkg :
272
- $(call section,"cleaning py pkg")
273
- @rm -rf ${PACKAGE}
274
-
275
270
clean-xcode : clean-build
276
271
$(call section,"cleaning xcode detritus")
277
272
@find . | grep -E " (project.xcworkspace|xcuserdata)" | xargs rm -rf
0 commit comments