Initial commit of unchanged sources from pdst version 0004 as found in pdst_20070506_01.zip at https://github.com/kyle-github/littlesmalltalk/tree/master/archive NOTE: This version doesn't build out of the box on modern compilers, needs a couple of small fixes.
This commit is contained in:
34
Makefile
Normal file
34
Makefile
Normal file
@@ -0,0 +1,34 @@
|
||||
CC = gcc
|
||||
XSOPT =
|
||||
SOPT = -Wall -O2 -fno-defer-pop
|
||||
CPY = cp -a
|
||||
DEL = rm -f
|
||||
|
||||
pdst.s: pdst.c
|
||||
$(CC) $(XSOPT) $(SOPT) -S pdst.c
|
||||
|
||||
pdst.o: pdst.s
|
||||
$(CC) -c pdst.s
|
||||
|
||||
pdst: pdst.o
|
||||
$(CC) -o pdst pdst.o -lm
|
||||
|
||||
systemImage: initial.st
|
||||
./pdst -c initial.st
|
||||
|
||||
.PHONY: test1
|
||||
test1:
|
||||
$(CPY) snapshot snapshot.1
|
||||
./pdst -w snapshot <test1.kbd
|
||||
|
||||
.PHONY: test2
|
||||
test2:
|
||||
$(CPY) snapshot snapshot.2
|
||||
./pdst -w snapshot <test2.kbd
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(DEL) snapshot.2 test2.one.out test2.all.out
|
||||
$(DEL) snapshot.1
|
||||
$(DEL) snapshot transcript systemImage
|
||||
$(DEL) pdst pdst.o pdst.s
|
Reference in New Issue
Block a user