-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile.dos
59 lines (39 loc) · 1.33 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
# $Header$
#
# Makefile for parser/glosser using DJGPP on DOS
#
# COPYRIGHT
#
CC=gcc
CFLAGS= -O2
OBJS2 = main.o lex1.o lex2.o cmavotab.o rpc_tab.o functions.o \
categ.o nonterm.o tree.o translate.o latex.o \
properties.o conversion.o terms.o memory.o tenses.o \
output.o textout.o htmlout.o connect.o latexblk.o \
relative.o textblk.o errorscan.o canonluj.o lujvofns.o \
erasure.o rpc_full.o morf.o morf_dfa.o bccheck.o \
tracebk.o elide.o dictaccs.o stag_dfa.o
SRCS2 = $(OBJS2:%.o=%.c)
CM_OBJS = cm_gather.o cm_output.o cm_main.o cm_translate.o cm_scan.o
CM_SRCS = $(CM_OBJS:%.o=%.c)
all : progs
jbofihe : $(OBJS2)
$(CC) $(CFLAGS) -o jbofihe $(OBJS2)
progs : jbofihe cmafihe jvocuhadju smujajgau vlatai
%.o : %.c
$(CC) $(CFLAGS) -c $<
%.s : %.c
$(CC) $(CFLAGS) -S $<
smujajgau : smujajgau.o canonluj.o
$(CC) $(CFLAGS) -o smujajgau smujajgau.o canonluj.o
smujajgau.o : smujajgau.c
$(CC) $(CFLAGS) -c smujajgau.c
cmafihe : $(CM_OBJS)
$(CC) $(CFLAGS) -o cmafihe $(CM_OBJS)
vlatai.o : morf.c morf.h morf_enc.c morf_lex.c morfvlex.c
$(CC) $(CFLAGS) -c -o vlatai.o -DTEST_MORF morf.c
vlatai : vlatai.o morf_dfa.o bccheck.o canonluj.o
$(CC) -o vlatai -DTEST_MORF $(CFLAGS) vlatai.o morf_dfa.o bccheck.o canonluj.o
jvocuhadju : jvocuhadju.o lujvofns.o
jvocuhadju.o : jvocuhadju.c version.h
smujajgau.o : smujajgau.c version.h