add most files

This commit is contained in:
2025-06-10 12:11:08 +02:00
parent 36217e809e
commit fceffa933c
19 changed files with 2787 additions and 0 deletions

31
make_gen Normal file
View File

@ -0,0 +1,31 @@
#---------------------------------------------------------------------------
# Makefile (sytem independent part) for the TECS Client library and TecsServer
# included in a machine-specific makefile
#
# Markus Zolliker, March 2003
#--------------------------------------------------------------------------
.SUFFIXES:
.SUFFIXES: .o .c .f
CC = gcc
SRC = term sys_select instr_hosts uselect myc_err myc_str
SYSSRC = $(addprefix $(linuxsys)/,$(SRC))
OBJ = $(addsuffix .o,$(SYSSRC))
DFIL = $(addsuffix .d,$(SYSSRC))
all: $(linuxsys)/six
six: $(linuxsys)/six
-include $(DFIL)
$(linuxsys)/six: six.c $(OBJ)
$(CC) $(CFLAGS) -o $@ $^
$(linuxsys)/%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $<
clean:
rm -f $(linuxsys)/*.o $(linuxsys)/*.a $(linuxsys)/*.d $(linuxsys)/six