conterm/Makefile

71 lines
1.0 KiB
Makefile
Raw Normal View History

ROOT=.
include Make.config
2005-08-08 16:50:13 +04:00
OFILES=\
main.$O\
cpu.$O\
readcons.$O\
secstore.$O\
latin1.$O\
2005-11-04 18:36:40 +03:00
$(OS)-factotum.$O\
2005-08-08 16:50:13 +04:00
2005-11-04 18:36:40 +03:00
LIBS1=\
2005-08-08 16:50:13 +04:00
kern/libkern.a\
exportfs/libexportfs.a\
2005-11-04 18:36:40 +03:00
libauth/libauth.a\
2005-08-08 16:50:13 +04:00
libauthsrv/libauthsrv.a\
libsec/libsec.a\
libmp/libmp.a\
libmemdraw/libmemdraw.a\
libmemlayer/libmemlayer.a\
libdraw/libdraw.a\
gui-$(GUI)/libgui.a\
2005-08-08 16:50:13 +04:00
libc/libc.a\
2005-11-04 18:36:40 +03:00
# stupid gcc
LIBS=$(LIBS1) $(LIBS1) $(LIBS1) libmachdep.a
2005-08-08 16:50:13 +04:00
$(TARG): $(OFILES) $(LIBS)
$(CC) $(LDFLAGS) -o $(TARG) $(OFILES) $(LIBS) $(LDADD)
2005-08-08 16:50:13 +04:00
%.$O: %.c
$(CC) $(CFLAGS) $*.c
clean:
rm -f *.o */*.o */*.a *.a drawterm drawterm.exe
2005-08-08 16:50:13 +04:00
kern/libkern.a:
(cd kern; make)
exportfs/libexportfs.a:
(cd exportfs; make)
2005-11-04 18:36:40 +03:00
libauth/libauth.a:
(cd libauth; make)
2005-08-08 16:50:13 +04:00
libauthsrv/libauthsrv.a:
(cd libauthsrv; make)
libmp/libmp.a:
(cd libmp; make)
libsec/libsec.a:
(cd libsec; make)
libmemdraw/libmemdraw.a:
(cd libmemdraw; make)
libmemlayer/libmemlayer.a:
(cd libmemlayer; make)
libdraw/libdraw.a:
(cd libdraw; make)
libc/libc.a:
(cd libc; make)
gui-$(GUI)/libgui.a:
(cd gui-$(GUI); make)
2005-08-08 16:50:13 +04:00