Skip to content

Commit 99b6cf2

Browse files
committed
Made Makefiles work nicer
1 parent a2d1a6d commit 99b6cf2

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Makefile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
SRC=as4.c
2+
EXE=as4
3+
EXTRACFLAGS=
4+
EXTRALDFLAGS=
5+
export SRC
6+
export EXE
7+
export EXTRACFLAGS
8+
export EXTRALDFLAGS
9+
10+
all: fast
11+
12+
13+
fast: phony
14+
$(MAKE) -C src fast
15+
cp src/as4 .
16+
17+
debug: phony
18+
$(MAKE) -C src
19+
cp src/as4 .
20+
21+
#docs:
22+
# rm -f docs.html
23+
# doxygen
24+
# ln -s html/index.html docs.html
25+
26+
clean:
27+
$(MAKE) -C src clean
28+
rm -rf as4
29+
30+
phony:
31+
true

0 commit comments

Comments
 (0)