1 # process this file with configure to create a Makefile from it
4 # Makes the wmail dockapp binary and cleans the directory, respectively.
6 LIBS
= @LIBS@ @XLFLAGS@ @XLIBS@
8 CFLAGS
= @CFLAGS@ @XCFLAGS@
10 default
all target
: wmail
12 wmail
: wmail.o common.o config.o
13 $(CC
) $(CFLAGS
) $(LIBS
) -o
$@
$^
15 wmail.o
: wmail.c common.h config.h xpm
/main.xpm xpm
/symbols.xpm xpm
/numbers.xpm xpm
/button.xpm xpm
/chars.xpm
16 $(CC
) $(CFLAGS
) -o
$@
-c
$<
18 common.o
: common.c common.h
19 $(CC
) $(CFLAGS
) -o
$@
-c
$<
21 config.o
: config.c config.h common.h
22 $(CC
) $(CFLAGS
) -o
$@
-c
$<
25 rm -f wmail core
*.o
*~