Text-based protocol for serving Delphi-designed forms over serial. dfm2form converts binary DFM (TPF0) to protocol commands on Linux. formsrv loads .form files and sends/receives via pluggable transport. formcli creates native Win 3.1 controls and routes events back to server. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
266 B
Makefile
16 lines
266 B
Makefile
CC = gcc
|
|
CFLAGS = -Wall -Wextra -std=c99 -O2
|
|
LDFLAGS =
|
|
|
|
all: dfm2form formsrv.o
|
|
|
|
dfm2form: dfm2form.c
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
formsrv.o: formsrv.c formsrv.h
|
|
$(CC) $(CFLAGS) -c -o $@ formsrv.c
|
|
|
|
clean:
|
|
rm -f dfm2form formsrv.o
|
|
|
|
.PHONY: all clean
|