From 24fa959568f248e996448b6410f141483b3aa33e Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Mon, 25 Jul 2016 20:12:20 -0400 Subject: [PATCH] clean up makefile, update readme, LSeg -> LSegIIgs --- LSeg.c => LSegIIgs.c | 0 README.md | 2 ++ makefile | 43 +------------------------------------------ 3 files changed, 3 insertions(+), 42 deletions(-) rename LSeg.c => LSegIIgs.c (100%) diff --git a/LSeg.c b/LSegIIgs.c similarity index 100% rename from LSeg.c rename to LSegIIgs.c diff --git a/README.md b/README.md index a7a1ce5..ea5a52a 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ monolithic help file. * MakeEnums: Print struct offsets for various records (for use with MPW development). +* md5: Print md5 checksum for a file (data and resource fork). + * OverlayIIgs: replacement for the OverlayIIgs command. (This has been tested under MPW.) diff --git a/makefile b/makefile index 6a393e8..c7ab5a2 100644 --- a/makefile +++ b/makefile @@ -33,7 +33,7 @@ LIBS = \ # LDFLAGS = -d -c 'MPS ' -t MPST TARGETS = Help GetEnv Delete Duplicate SetFile OverlayIIgs ListRez ListRezIIgs\ - LSeg MakeEnums ReadGlobal Parameters Echo md5 + LSegIIgs MakeEnums ReadGlobal Parameters Echo md5 all: $(TARGETS) @@ -60,15 +60,6 @@ lib: lib/libc: libc/strcasecmp.c.o libc/_getprogname.c.o libc/err.c.o libc/getopt.c.o libc/basename.c.o | lib $(MPW) Lib $(LIBFLAGS) -o $@ $^ -# GetEnv: GetEnv.c.o -# $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) - -# Help: Help.c.o -# $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) - - -# Duplicate: Duplicate.c.o -# $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) Delete: Delete.c.o Delete-flags.c.o $(LIBRARIES) @@ -82,32 +73,6 @@ SetFile: SetFile.c.o SetFile-flags.c.o $(LIBRARIES) OverlayIIgs: OverlayIIgs.c.o OverlayIIgs-flags.c.o $(LIBRARIES) $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) -# ListRez: ListRez.c.o lib/libtomcrypt -# $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) - -# ListRezIIgs: ListRezIIgs.c.o -# $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) - -# LSeg: LSeg.c.o lib/libc -# $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) - - -# MakeEnums: MakeEnums.c.o -# $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) - -# ReadGlobal: ReadGlobal.c.o -# $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) - -# Parameters: Parameters.c.o -# $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) - -# Echo: Echo.c.o -# $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) - - -#md5 : md5.c.o lib/libtomcrypt -# $(MPW) Link $(LDFLAGS) -o $@ $^ $(LIBS) - LTC_H = libtomcrypt/src/hashes/ @@ -118,12 +83,6 @@ lib/libtomcrypt : $(LTC_H)/md2.c.o $(LTC_H)/md4.c.o $(LTC_H)/md5.c.o $(LTC_H)/sh $(LTC_H)%.c.o : $(LTC_H)%.c $(MPW) SC $(SCFLAGS) $< -o $@ -#SetFile.c : SetFile.rl -# ragel -G2 -p -m -o $@ $< - -#ReadGlobal.c : ReadGlobal.rc -# re2c -o $@ $< - %.c.o : %.c $(MPW) SC $(SCFLAGS) $< -o $@