2003-05-01 20:53:00 +00:00
|
|
|
CC = gcc
|
2009-08-20 03:11:00 +00:00
|
|
|
CFLAGS = -O2 -Wall
|
|
|
|
LFLAGS =
|
2003-05-01 20:53:00 +00:00
|
|
|
|
2009-08-20 03:11:00 +00:00
|
|
|
all: dos33 asoft_detoken mkdos33fs make_b tokenize_asoft \
|
2012-05-04 14:33:22 +00:00
|
|
|
dos33_text2ascii integer_detoken char2hex pcx2hgr
|
2003-05-01 20:53:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
asoft_detoken: asoft_detoken.o
|
2009-08-20 03:11:00 +00:00
|
|
|
$(CC) $(LFLAGS) -o asoft_detoken asoft_detoken.o
|
2003-05-01 20:53:00 +00:00
|
|
|
|
|
|
|
asoft_detoken.o: asoft_detoken.c
|
2009-08-20 03:11:00 +00:00
|
|
|
$(CC) $(CFLAGS) -c asoft_detoken.c
|
|
|
|
|
|
|
|
integer_detoken: integer_detoken.o
|
|
|
|
$(CC) $(LFLAGS) -o integer_detoken integer_detoken.o
|
|
|
|
|
|
|
|
integer_detoken.o: integer_detoken.c
|
|
|
|
$(CC) $(CFLAGS) -c integer_detoken.c
|
2003-05-01 20:53:00 +00:00
|
|
|
|
2007-08-21 02:26:00 +00:00
|
|
|
tokenize_asoft: tokenize_asoft.o
|
2009-08-20 03:11:00 +00:00
|
|
|
$(CC) $(LFLAGS) -o tokenize_asoft tokenize_asoft.o
|
2003-05-01 20:53:00 +00:00
|
|
|
|
2007-08-21 02:26:00 +00:00
|
|
|
tokenize_asoft.o: tokenize_asoft.c
|
2009-08-20 03:11:00 +00:00
|
|
|
$(CC) $(CFLAGS) -c tokenize_asoft.c
|
2003-05-01 20:53:00 +00:00
|
|
|
|
2012-05-04 14:33:22 +00:00
|
|
|
|
|
|
|
pcx2hgr: pcx2hgr.o
|
|
|
|
$(CC) $(LFLAGS) -o pcx2hgr pcx2hgr.o
|
|
|
|
|
|
|
|
pcx2hgr.o: pcx2hgr.c
|
|
|
|
$(CC) $(CFLAGS) -c pcx2hgr.c
|
|
|
|
|
2012-05-02 14:55:35 +00:00
|
|
|
char2hex: char2hex.o
|
|
|
|
$(CC) $(LFLAGS) -o char2hex char2hex.o
|
|
|
|
|
|
|
|
char2hex.o: char2hex.c
|
|
|
|
$(CC) $(CFLAGS) -c char2hex.c
|
|
|
|
|
2003-05-01 20:53:00 +00:00
|
|
|
dos33: dos33.o
|
2009-08-20 03:11:00 +00:00
|
|
|
$(CC) $(LFLAGS) -o dos33 dos33.o
|
2003-05-01 20:53:00 +00:00
|
|
|
|
|
|
|
dos33.o: dos33.c dos33.h
|
2009-08-20 03:11:00 +00:00
|
|
|
$(CC) $(CFLAGS) -c dos33.c
|
|
|
|
|
|
|
|
dos33_text2ascii: dos33_text2ascii.o
|
|
|
|
$(CC) $(LFLGAS) -o dos33_text2ascii dos33_text2ascii.o
|
|
|
|
|
|
|
|
dos33_text2ascii.o: dos33_text2ascii.c
|
|
|
|
$(CC) $(CFLAGS) -c dos33_text2ascii.c
|
|
|
|
|
2003-05-01 20:53:00 +00:00
|
|
|
make_b: make_b.o
|
2009-08-20 03:11:00 +00:00
|
|
|
$(CC) $(LFLAGS) -o make_b make_b.o
|
2003-05-01 20:53:00 +00:00
|
|
|
|
|
|
|
make_b.o: make_b.c
|
2009-08-20 03:11:00 +00:00
|
|
|
$(CC) $(CFLAGS) -c make_b.c
|
2003-05-01 20:53:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
mkdos33fs: mkdos33fs.o
|
2009-08-20 03:11:00 +00:00
|
|
|
$(CC) $(LFLAGS) -o mkdos33fs mkdos33fs.o
|
2003-05-01 20:53:00 +00:00
|
|
|
|
|
|
|
mkdos33fs.o: mkdos33fs.c dos33.h
|
2009-08-20 03:11:00 +00:00
|
|
|
$(CC) $(CFLAGS) -c mkdos33fs.c
|
2003-05-01 20:53:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
install:
|
2009-08-22 01:41:00 +00:00
|
|
|
cp dos33 asoft_detoken mkdos33fs tokenize_asoft make_b dos33_text2ascii integer_detoken /usr/local/bin
|
2003-05-01 20:53:00 +00:00
|
|
|
|
|
|
|
clean:
|
2012-05-04 14:33:22 +00:00
|
|
|
rm -f *~ *.o asoft_detoken dos33 make_b mkdos33fs tokenize_asoft dos33_text2ascii integer_detoken char2hex pcx2hgr
|
2009-08-20 03:11:00 +00:00
|
|
|
cd tests && make clean
|