-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.dos
59 lines (45 loc) · 1.28 KB
/
Makefile.dos
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Generated automatically from Makefile.in by configure.
CC = gcc
CFLAGS = -O6 -m486 -fstrength-reduce -ffast-math -fomit-frame-pointer -fforce-mem -fforce-addr -funroll-loops -I/usr/X11R6/include -I/usr/local/include
LIBS = -lm -laa -ltext -lvga -L../aalib-1.0 -L../vga -L../text
LFLAGS = -O
prefix = /usr/local
exec_prefix = ${prefix}
datadir= ${prefix}/share
bindir= ${exec_prefix}/bin
mandir= ${prefix}/man
infodir= ${prefix}/info
INCL = config.h \
SRCS = main.c \
ui.c \
shrink.c \
image.c
SRCS1 = flip.c \
general.c
OBJS = $(SRCS:.c=.o)
OBJS1 = $(SRCS1:.c=.o)
all: aview aaflip
aview: $(OBJS)
$(CC) $(CFLAGS) $(LFLAGS) -o aview $(OBJS) $(LIBS)
aaflip: $(OBJS1)
$(CC) $(CFLAGS) $(LFLAGS) -o aaflip $(OBJS1) $(LIBS)
clean:
rm -f aview
rm -f core `find . -name '*.[oas]' -print`
rm -f core `find . -name '*~' -print`
rm -f core `find . -type f -name 'core' -print`
distclean:clean
rm -f config.log config.status config.cache Makefile
install:
/usr/bin/install -c -s aview ${bindir}
/usr/bin/install -c -s aaflip ${bindir}
/usr/bin/install -c asciiview ${bindir}
#dep:
# rm -f .depend
# make .depend
#
#.depend:
# echo '# Program dependencies' >.depend
# gcc -I svgalib $(DEFINES) -MM $(patsubst %.o,%.c,$(OBJS)) >>.depend
#
#include .depend