Artifact 6e3623f11bc4b45639a5b0cc5d54346863dd7d57c61d5d021a6850954ab429fa:
- File Makefile.macos — part of check-in [1b25f9e6ed] at 2018-01-28 19:46:52 on branch trunk — Add a Makefile for MacOS. Add wapp-param. Add the %string(...) substitution for wapp-subst. (user: drh size: 431)
#!/usr/bin/make CC = gcc -O0 -framework CoreFoundation TCLLIB = /Users/drh/tcl/lib/libtcl8.7.a -lm -lz -lpthread -ldl TCLINC = /Users/drh/tcl/include TCLSH = /Users/drh/tcl/bin/tclsh8.7 all: wapptclsh wapptclsh: wapptclsh.c $(CC) -I. -I$(TCLINC) -o $@ wapptclsh.c $(TCLLIB) wapptclsh.c: wapptclsh.c.in wapp.tcl wapptclsh.tcl tclsqlite3.c mkccode.tcl $(TCLSH) mkccode.tcl wapptclsh.c.in >$@ clean: rm wapptclsh wapptclsh.c