💾 Archived View for uscoffings.net › retro-computing › systems › TI994a › x99tape › x99tape.diff captured on 2022-06-04 at 00:40:15.
-=-=-=-=-=-=-
diff -ru x99tape_src/main.c x99tape_src.new/main.c --- x99tape_src/main.c 2002-08-22 10:45:10.000000000 -0600 +++ x99tape_src.new/main.c 2004-07-30 21:06:56.000000000 -0600 @@ -39,7 +39,6 @@ Raphael Nabet 2002 */ -#include <console.h> #include <ctype.h> #include <stdio.h> #include <string.h> @@ -121,7 +120,7 @@ bool suppress_option_parsing; -#if 1 +#if 0 /* Macintosh hack */ argc = ccommand(&argv); #endif diff -ru x99tape_src/Makefile x99tape_src.new/Makefile --- x99tape_src/Makefile 2002-08-21 22:15:24.000000000 -0600 +++ x99tape_src.new/Makefile 2004-07-30 21:08:59.000000000 -0600 @@ -5,30 +5,30 @@ CCFLAGS=-c -Wall -Wmissing-declarations -I. LD=cc -LDFLAGS= +LDFLAGS=-lm x99tape: $(OBJ_DIR)/main.o $(OBJ_DIR)/tape_dec.o $(OBJ_DIR)/tape_enc.o $(OBJ_DIR)/tifiles.o $(OBJ_DIR)/wave.o - $(LD) $(LDFLAGS) $(OBJ_DIR)/main.o $(OBJ_DIR)/tape_dec.o $(OBJ_DIR)/tape_enc.o $(OBJ_DIR)/tifiles.o $(OBJ_DIR)/wave.o -o $@ + $(LD) $(LDFLAGS) $^ -o $@ $(OBJ_DIR)/main.o: main.c common.h my_bool.h my_int.h tifiles.h wave.h tape_dec.h tape_enc.h - $(CC) $(CCFLAGS) main.c -o $@ + $(CC) $(CCFLAGS) {body}lt; -o $@ $(OBJ_DIR)/tape_dec.o: tape_dec.c common.h my_bool.h my_int.h tifiles.h wave.h tape_dec.h - $(CC) $(CCFLAGS) tape_dec.c -o $@ + $(CC) $(CCFLAGS) {body}lt; -o $@ $(OBJ_DIR)/tape_enc.o: tape_enc.c common.h my_int.h tifiles.h wave.h tape_enc.h - $(CC) $(CCFLAGS) tape_enc.c -o $@ + $(CC) $(CCFLAGS) {body}lt; -o $@ $(OBJ_DIR)/tifiles.o: tifiles.c common.h tifiles.h - $(CC) $(CCFLAGS) tifiles.c -o $@ + $(CC) $(CCFLAGS) {body}lt; -o $@ $(OBJ_DIR)/wave.o: wave.c common.h my_int.h wave.h - $(CC) $(CCFLAGS) wave.c -o $@ + $(CC) $(CCFLAGS) {body}lt; -o $@ clean: - rm $(OBJ_DIR)/*.o + rm -f $(OBJ_DIR)/*.o x99tape