Subversion Repositories wimsdev

Rev

Rev 8185 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8185 Rev 8219
Line 14... Line 14...
14
STRIP=@STRIP@
14
STRIP=@STRIP@
15
commonobj= common.o
15
commonobj= common.o
16
progstatic=pari yacas maxima scilab
16
progstatic=pari yacas maxima scilab
17
progdynamic=gap octave m2
17
progdynamic=gap octave m2
18
progs=$(progstatic) $(progdynamic)
18
progs=$(progstatic) $(progdynamic)
-
 
19
H=../Lib/libwims.h ../config.h ../includes.h ../wimsdef.h
19
 
20
 
20
all: $(progs) install
21
all: $(progs) install
21
 
22
 
22
clean:
23
clean:
23
	rm -f $(progs) *.o
24
	rm -f $(progs) *.o
24
 
25
 
25
distclean: clean
26
distclean: clean
26
	cd $(PUBDIR); rm -f $(progs)
27
	cd $(PUBDIR); rm -f $(progs)
27
	rm -f Makefile
28
	rm -f Makefile
28
 
29
 
29
%.o: %.c common.h
30
%.o: %.c common.h $(H)
30
	$(cc) -o $@ $(cflags) $(CPPFLAGS) $(defines) -c $<
31
	$(cc) -o $@ $(cflags) $(CPPFLAGS) $(defines) -c $<
31
 
32
 
32
install: $(progs)
33
install: $(progs)
33
	$(STRIP) $(progs)
34
	$(STRIP) $(progs)
34
	cp $(progs) $(PUBDIR)
35
	cp $(progs) $(PUBDIR)