Wapp

Check-in [dc4319ef47]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Minor makefile tweak to make it easier to define the TCL pieces via CLI flags from a docker build. No functional changes.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA3-256: dc4319ef47c29e0b6101c52c57928e7a1662f503676fb623c8b5c1755ee49312
User & Date: stephan 2025-05-08 12:28:39.257
Context
2025-05-08
12:28
Minor makefile tweak to make it easier to define the TCL pieces via CLI flags from a docker build. No functional changes. (Leaf check-in: dc4319ef47 user: stephan tags: trunk)
2025-05-07
14:00
Update the built-in SQLite to the latest 3.50.0 beta. Enhancements to the Makefile: add the "env" target. Remove obsolete and/or pointless options. (check-in: f56694fabb user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to Makefile.
13
14
15
16
17
18
19
20

21
22
23
24
25
26
27
#    (4)  make install
#

CFLAGS = -Os -static
CC = gcc $(CFLAGS)
OPTS = 
TCLDIR ?= $(HOME)/tcl90
TCLLIB = $(TCLDIR)/lib/libtcl9.0.a -lm -lz -lpthread -ldl

TCLINC = $(TCLDIR)/include
TCLSH = $(TCLDIR)/bin/tclsh9.0

all: wapptclsh

wapptclsh: wapptclsh.c
	$(CC) -I. -I$(TCLINC) -o $@ $(OPTS) wapptclsh.c $(TCLLIB)







|
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#    (4)  make install
#

CFLAGS = -Os -static
CC = gcc $(CFLAGS)
OPTS = 
TCLDIR ?= $(HOME)/tcl90
TCLLIB_A ?= $(TCLDIR)/lib/libtcl9.0.a
TCLLIB = $(TCLLIB_A) -lm -lz -lpthread -ldl
TCLINC = $(TCLDIR)/include
TCLSH = $(TCLDIR)/bin/tclsh9.0

all: wapptclsh

wapptclsh: wapptclsh.c
	$(CC) -I. -I$(TCLINC) -o $@ $(OPTS) wapptclsh.c $(TCLLIB)