forked from wovo/hwlib
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmakefile
48 lines (38 loc) · 1.08 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#############################################################################
#
# hwlib top-level Makefile
#
# (c) Wouter van Ooijen (www.voti.nl) 2017
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#
#############################################################################
.PHONY: clean build run error
run: error
MSG = You are trying to run in a library directory.
MSG += Make one of the project source files your current editor file.
error:
$(error $(MSG) )
BMPTK := ../bmptk
REMOVE := $(BMPTK)/tools/bmptk-rm
build:
Doxygen
cd demos && bmptk-make build
@echo "**** build completed succesfully"
clean:
$(REMOVE) -rf html
cd demos && bmptk-make clean
@echo "**** cleanup completed succesfully"
# git commit -a -m 'work'
# git config core.ignorecase false
push:
bmptk-make clean
git add -A
git commit -a -m 'filename case troubles'
git push
push-no-clean:
git add -A
git commit -a -m 'filename case troubles'
git push