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
|
CC = @CC@
RC = @RC@
CFLAGS = @CFLAGS@ @DEFS@ -DTK_LOCAL_APPINIT=TclKit_AppInit
CPPFLAGS = @CPPFLAGS@ @DEFS@ -DTK_LOCAL_APPINIT=TclKit_AppInit
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
ARCHS = @ARCHS@
OBJS = kitInit.o main.o pwb.o rechan.o zlib.o winMain.o
EXTRA_OBJS = @EXTRA_OBJS@
all: kit
kit.res.o: kit.rc kit.ico
$(RC) -o kit.res.o $(CPPFLAGS) kit.rc
kit: $(OBJS) $(EXTRA_OBJS) $(ARCHS)
$(CC) $(CPPFLAGS) $(CFLAGS) -o kit $(OBJS) $(EXTRA_OBJS) $(ARCHS) $(LDFLAGS) $(LIBS)
boot.tcl.h: boot.tcl
./stringify.tcl boot.tcl > boot.tcl.h
zipvfs.tcl.h: zipvfs.tcl
./stringify.tcl zipvfs.tcl > zipvfs.tcl.h
clean:
rm -f kit $(OBJS) kit.res.o
distclean: clean
rm -f config.h Makefile config.log config.status
rm -rf autom4te.cache
mrproper: distclean
rm -f configure config.h boot.tcl.h zipvfs.tcl.h
.PHONY: all clean distclean
|
<
<
<
<
<
<
<
<
<
<
>
|
|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
|
1
2
3
4
5
6
7
8
|
OBJS = kitInit.o main.o pwb.o rechan.o zlib.o winMain.o
all: kit
-include Makefile.common
kit: $(OBJS) $(EXTRA_OBJS) $(EXTRA_KIT_DEPS) $(EXTRA_VFS_OBJS) $(ARCHS)
$(CC) $(CPPFLAGS) $(CFLAGS) -o kit $(OBJS) $(EXTRA_OBJS) $(EXTRA_VFS_OBJS) $(ARCHS) $(LDFLAGS) $(LIBS)
|