2003-05-01 16:53:00 -04:00
|
|
|
CC = gcc
|
|
|
|
C_FLAGS = -O2 -Wall
|
|
|
|
L_FLAGS =
|
|
|
|
|
2007-08-20 22:26:00 -04:00
|
|
|
all: dos33 asoft_detoken mkdos33fs make_b tokenize_asoft
|
2003-05-01 16:53:00 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
asoft_detoken: asoft_detoken.o
|
|
|
|
$(CC) $(L_FLAGS) -o asoft_detoken asoft_detoken.o
|
|
|
|
|
|
|
|
asoft_detoken.o: asoft_detoken.c
|
|
|
|
$(CC) $(C_FLAGS) -c asoft_detoken.c
|
|
|
|
|
2007-08-20 22:26:00 -04:00
|
|
|
tokenize_asoft: tokenize_asoft.o
|
|
|
|
$(CC) $(L_FLAGS) -o tokenize_asoft tokenize_asoft.o
|
2003-05-01 16:53:00 -04:00
|
|
|
|
2007-08-20 22:26:00 -04:00
|
|
|
tokenize_asoft.o: tokenize_asoft.c
|
|
|
|
$(CC) $(C_FLAGS) -c tokenize_asoft.c
|
2003-05-01 16:53:00 -04:00
|
|
|
|
|
|
|
dos33: dos33.o
|
|
|
|
$(CC) $(L_FLAGS) -o dos33 dos33.o
|
|
|
|
|
|
|
|
dos33.o: dos33.c dos33.h
|
|
|
|
$(CC) $(C_FLAGS) -c dos33.c
|
|
|
|
|
|
|
|
make_b: make_b.o
|
|
|
|
$(CC) $(L_FLAGS) -o make_b make_b.o
|
|
|
|
|
|
|
|
make_b.o: make_b.c
|
|
|
|
$(CC) $(C_FLAGS) -c make_b.c
|
|
|
|
|
|
|
|
|
|
|
|
mkdos33fs: mkdos33fs.o
|
|
|
|
$(CC) $(L_FLAGS) -o mkdos33fs mkdos33fs.o
|
|
|
|
|
|
|
|
mkdos33fs.o: mkdos33fs.c dos33.h
|
|
|
|
$(CC) $(C_FLAGS) -c mkdos33fs.c
|
|
|
|
|
|
|
|
|
|
|
|
install:
|
2007-08-20 22:26:00 -04:00
|
|
|
cp dos33 asoft_detoken mkdos33fs tokenize_asoft make_b /usr/local/bin
|
2003-05-01 16:53:00 -04:00
|
|
|
|
|
|
|
clean:
|
2007-08-20 22:26:00 -04:00
|
|
|
rm -f *~ *.o asoft_detoken dos33 make_b mkdos33fs tokenize_asoft
|