-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.in
34 lines (26 loc) · 858 Bytes
/
Makefile.in
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
# makefile prototype for the EDIM package (assuming GAP >= 4.12) Frank Lübeck
# GAPPATH is found in `configure`, GAParch, GAP and GAC are set in sysinfo.gap
GAPPATH=@GAPPATH@
include $(GAPPATH)/sysinfo.gap
.PHONY: doc clean cleanlast distclean docclean test
bin/$(GAParch)/ediv.so: src/ediv.c Makefile
@mkdir -p bin/$(GAParch)
$(GAC) -d -p "$(CPPFLAGS)" -p "$(CFLAGS)" -P "$(LDFLAGS)" -o bin/$(GAParch)/ediv.so src/ediv.c
doc:
$(GAP) makedocrel.g
# for compatibility with other packages
clean:
rm -rf bin/$(GAParch) *~
# clean last build
cleanlast:
rm -rf bin/$(GAParch) Makefile *~
# clean all builds
distclean:
rm -rf bin/* Makefile Makefile-*
docclean:
(cd doc; ./clean)
test:
$(GAP) -b -q -r < tst/test.g
# regenerate Makefile if any of its inputs changed
Makefile: configure Makefile.in $(GAPPATH)/sysinfo.gap
./configure $(GAPPATH)