Skip to content

Commit 480238f

Browse files
committed
adding cleanup
1 parent c48b00a commit 480238f

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

Makefile

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ MAKEINC=Makefile_include
1616
all:: intkind
1717
all:: gmpkind
1818
all:: include
19+
all:: test
20+
all:: clean
1921

2022
######
2123

@@ -28,7 +30,20 @@ include:: ; $(MAKE) -f $(MAKEINC) all
2830

2931
######
3032

33+
test:: ; (cd $(DIR_INT) && ./configure)
34+
test:: ; (cd $(DIR_GMP) && ./configure)
35+
36+
test:: ; time $(MAKE) -C $(DIR_INT) all
37+
test:: ; time $(MAKE) -C $(DIR_GMP) all
38+
test:: ; time $(MAKE) -C $(DIR_CLU) all
39+
40+
######
41+
42+
clean:: ; $(RMRF) $(DIR_INT) $(DIR_GMP) $(DIR_CLU)
43+
44+
######
45+
3146
cleanall::; $(RMF) *~
3247
cleanall::; $(RMRF) ATS-Temptory-*
3348

34-
######
49+
######

share.mk

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ RELBRANCH=tags/v$(RELEASE_VERSION)
1717

1818
######
1919

20+
#
21+
# These are the expected directory names
22+
# if the C3NSTRINTKND gets changed
23+
# these should be changed also
24+
#
25+
26+
DIR_INT=$(ATSDIST)-intknd-$(RELEASE_VERSION)
27+
DIR_GMP=$(ATSDIST)-gmpknd-$(RELEASE_VERSION)
28+
DIR_CLU=$(ATSDIST)-include-$(RELEASE_VERSION)
29+
30+
######
31+
2032
CAT=cat
2133

2234
CHKOUT=git checkout -b

0 commit comments

Comments
 (0)