Rev 14948 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14948 | Rev 15111 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | # Makefile is called from another Makefile... |
2 | # Makefile is called from another Makefile... |
3 | 3 | ||
4 | wims_home=`pwd | awk -F/src '{ print $$1 }'` |
4 | wims_home=`pwd | awk -F/src '{ print $$1 }'` |
5 | canvasdraw_home=$(wims_home)/src/Misc/canvasdraw |
5 | canvasdraw_home=$(wims_home)/src/Misc/canvasdraw |
6 | cc=@CC@ |
6 | cc=@CC@ |
- | 7 | ifneq ($(wildcard ../katex),) |
|
- | 8 | cflags=@CFLAGS@ -DKATEX_INSTALLED |
|
- | 9 | else |
|
7 | cflags=@CFLAGS@ |
10 | cflags=@CFLAGS@ |
- | 11 | endif |
|
8 | ldflags= @LDFLAGS@ -L../../Lib -lwims -lm |
12 | ldflags= @LDFLAGS@ -L../../Lib -lwims -lm |
9 | STRIP= @STRIP@ |
13 | STRIP= @STRIP@ |
10 | public_script=$(wims_home)/public_html/bin/canvasdraw |
14 | public_script=$(wims_home)/public_html/bin/canvasdraw |
11 | public_bin=$(wims_home)/other/bin |
15 | public_bin=$(wims_home)/other/bin |
12 |
|
16 | O=canvasuserdraw.o canvasreply.o canvasutils.o canvasdragstuff.o canvasmultidraw.o canvasmacro.o canvasdraw.o |
13 | H=../../Lib/libwims.h ../../config.h ../../includes.h ../../wimsdef.h |
17 | H=../../Lib/libwims.h ../../config.h ../../includes.h ../../wimsdef.h |
14 | 18 | ||
15 | all:canvasdraw setup |
19 | all:canvasdraw setup |
16 | 20 | ||
17 | %.o: %.c *.h $(H) |
21 | %.o: %.c *.h $(H) |