big update of the forgotten

This commit is contained in:
Mark R. Havens 2025-04-28 15:02:56 -05:00
parent 9087264c9b
commit 0eb1b5095b
30 changed files with 4129 additions and 0 deletions

24
c64-c/Makefile Normal file
View file

@ -0,0 +1,24 @@
# Makefile for Witness Seed 2.0 on Commodore 64
CC = cc65
AS = ca65
LD = ld65
CFLAGS = -t c64 -Os --cpu 6502
LDFLAGS = -t c64 -o witness_seed.prg
TARGET = witness_seed.prg
SOURCES = witness_seed.c
OBJECTS = $(SOURCES:.c=.o)
all: $(TARGET)
$(TARGET).o: $(SOURCES)
$(CC) $(CFLAGS) -c $< -o $@
$(TARGET): $(OBJECTS)
$(LD) $(OBJECTS) $(LDFLAGS)
clean:
rm -f $(OBJECTS) $(TARGET)
.PHONY: all clean