Skip to content

Commit 90d2a99

Browse files
committed
snap
1 parent f6f00ea commit 90d2a99

File tree

2 files changed

+20
-25
lines changed

2 files changed

+20
-25
lines changed
File renamed without changes.

Makefile

+20-25
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ PKG_DIRS=docs examples externals help init \
2626
javascript jsextensions media patchers
2727

2828

29-
30-
31-
3229
# ifdef MYFLAG
3330
# CFLAGS += -DMYFLAG
3431
# endif
@@ -103,6 +100,9 @@ framework-pkg: clean-framework-pkg build-framework-pkg
103100

104101
framework-ext: clean-framework-ext build-framework-ext
105102

103+
pymx:
104+
@bash source/projects/pymx/build_pymx.sh
105+
106106

107107
max-check:
108108
@echo $(PACKAGE)
@@ -119,7 +119,6 @@ dist:
119119

120120

121121

122-
123122
# Building
124123
# -----------------------------------------------------------------------
125124
.PHONY: build build-extension \
@@ -192,9 +191,9 @@ style: clang-format
192191

193192
clang-format:
194193
$(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
198197

199198
lizard:
200199
$(call section,"lizard complexity analysis")
@@ -210,7 +209,7 @@ duplo:
210209

211210
# Cleaning
212211
# -----------------------------------------------------------------------
213-
.PHONY: reset clean clean-build clean-pkg clean-support clean-externals \
212+
.PHONY: reset clean clean-build clean-support clean-externals \
214213
clean-targets-build clean-local-sys \
215214
clean-homebrew-pkg clean-homebrew-ext \
216215
clean-framework-pkg clean-framework-ext \
@@ -219,7 +218,7 @@ duplo:
219218

220219
reset: clean clean-targets-build
221220

222-
clean: clean-externals clean-build clean-support clean-pkg
221+
clean: clean-externals clean-build clean-support
223222

224223
clean-build: clean-local-sys \
225224
clean-homebrew-pkg clean-homebrew-ext \
@@ -237,41 +236,37 @@ clean-externals:
237236
rm -rf ${ROOTDIR}/externals/$$target.mxo ; \
238237
done
239238

239+
clean-support:
240+
$(call section,"cleaning support directory")
241+
@rm -rf ${ROOTDIR}/support/*
242+
240243
clean-local-sys: clean-externals
241244
$(call xclean-build,"local-sys")
242245

243-
clean-homebrew-pkg:
246+
clean-homebrew-pkg: clean-externals clean-support
244247
$(call xclean-build,"homebrew-pkg")
245248

246-
clean-homebrew-ext:
249+
clean-homebrew-ext: clean-externals
247250
$(call xclean-build,"homebrew-ext")
248251

249-
clean-framework-pkg:
252+
clean-framework-pkg: clean-externals clean-support
250253
$(call xclean-build,"framework-pkg")
251254

252-
clean-framework-ext:
255+
clean-framework-ext: clean-externals
253256
$(call xclean-build,"framework-ext")
254257

255-
clean-shared-pkg:
258+
clean-shared-pkg: clean-externals clean-support
256259
$(call xclean-build,"shared-pkg")
257260

258-
clean-shared-ext:
261+
clean-shared-ext: clean-externals
259262
$(call xclean-build,"shared-ext")
260263

261-
clean-static-pkg:
264+
clean-static-pkg: clean-externals clean-support
262265
$(call xclean-build,"static-pkg")
263266

264-
clean-static-ext:
267+
clean-static-ext: clean-externals
265268
$(call xclean-build,"static-ext")
266269

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-
275270
clean-xcode: clean-build
276271
$(call section,"cleaning xcode detritus")
277272
@find . | grep -E "(project.xcworkspace|xcuserdata)" | xargs rm -rf

0 commit comments

Comments
 (0)