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 20:03:10 +00:00
|
|
|
dos33_text2ascii integer_detoken char2hex pcx2hgr \
|
|
|
|
asoft_presenter
|
2003-05-01 20:53:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-04 20:03:10 +00:00
|
|
|
asoft_detoken: asoft_detoken.o
|
|
|
|
$(CC) $(LFLAGS) -o asoft_detoken asoft_detoken.o
|
2003-05-01 20:53:00 +00:00
|
|
|
|
2012-05-04 20:03:10 +00:00
|
|
|
asoft_detoken.o: asoft_detoken.c
|
|
|
|
$(CC) $(CFLAGS) -c asoft_detoken.c
|
2009-08-20 03:11:00 +00:00
|
|
|
|
2012-05-04 20:03:10 +00:00
|
|
|
asoft_presenter: asoft_presenter.o
|
|
|
|
$(CC) $(LFLAGS) -o asoft_presenter asoft_presenter.o
|
2003-05-01 20:53:00 +00:00
|
|
|
|
2012-05-04 20:03:10 +00:00
|
|
|
asoft_presenter.o: asoft_presenter.c
|
|
|
|
$(CC) $(CLFAGS) -c asoft_presenter.c
|
2012-05-04 14:33:22 +00:00
|
|
|
|
2012-05-04 20:03:10 +00:00
|
|
|
integer_detoken: integer_detoken.o
|
|
|
|
$(CC) $(LFLAGS) -o integer_detoken integer_detoken.o
|
2012-05-04 14:33:22 +00:00
|
|
|
|
2012-05-04 20:03:10 +00:00
|
|
|
integer_detoken.o: integer_detoken.c
|
|
|
|
$(CC) $(CFLAGS) -c integer_detoken.c
|
2012-05-04 14:33:22 +00:00
|
|
|
|
2012-05-04 20:03:10 +00:00
|
|
|
tokenize_asoft: tokenize_asoft.o
|
|
|
|
$(CC) $(LFLAGS) -o tokenize_asoft tokenize_asoft.o
|
2012-05-02 14:55:35 +00:00
|
|
|
|
2012-05-04 20:03:10 +00:00
|
|
|
tokenize_asoft.o: tokenize_asoft.c
|
|
|
|
$(CC) $(CFLAGS) -c tokenize_asoft.c
|
2012-05-02 14:55:35 +00:00
|
|
|
|
2012-05-04 20:03:10 +00:00
|
|
|
pcx2hgr: pcx2hgr.o
|
|
|
|
$(CC) $(LFLAGS) -o pcx2hgr pcx2hgr.o
|
2009-08-20 03:11:00 +00:00
|
|
|
|
2012-05-04 20:03:10 +00:00
|
|
|
pcx2hgr.o: pcx2hgr.c
|
|
|
|
$(CC) $(CFLAGS) -c pcx2hgr.c
|
2009-08-20 03:11:00 +00:00
|
|
|
|
2012-05-04 20:03:10 +00:00
|
|
|
char2hex: char2hex.o
|
|
|
|
$(CC) $(LFLAGS) -o char2hex char2hex.o
|
|
|
|
|
|
|
|
char2hex.o: char2hex.c
|
|
|
|
$(CC) $(CFLAGS) -c char2hex.c
|
|
|
|
|
|
|
|
dos33: dos33.o
|
|
|
|
$(CC) $(LFLAGS) -o dos33 dos33.o
|
|
|
|
|
|
|
|
dos33.o: dos33.c dos33.h
|
|
|
|
$(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
|
|
|
|
|
|
|
|
make_b: make_b.o
|
|
|
|
$(CC) $(LFLAGS) -o make_b make_b.o
|
|
|
|
|
|
|
|
make_b.o: make_b.c
|
|
|
|
$(CC) $(CFLAGS) -c make_b.c
|
|
|
|
|
|
|
|
mkdos33fs: mkdos33fs.o
|
|
|
|
$(CC) $(LFLAGS) -o mkdos33fs mkdos33fs.o
|
|
|
|
|
|
|
|
mkdos33fs.o: mkdos33fs.c dos33.h
|
|
|
|
$(CC) $(CFLAGS) -c mkdos33fs.c
|
2003-05-01 20:53:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
install:
|
2012-05-04 20:03:10 +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 20:03:10 +00:00
|
|
|
rm -f *~ *.o asoft_detoken dos33 make_b mkdos33fs \
|
|
|
|
tokenize_asoft dos33_text2ascii integer_detoken \
|
|
|
|
char2hex pcx2hgr asoft_presenter
|
2009-08-20 03:11:00 +00:00
|
|
|
cd tests && make clean
|
2012-05-04 20:03:10 +00:00
|
|
|
cd presenter_demo && make clean
|
|
|
|
|