w3mail

program to send a web page by email
git clone https://logand.com/git/w3mail.git/
Log | Files | Refs | README | LICENSE

commit 286d4af13220e8ab4817183b8c66edbd47a6de53
parent 72c8d65b36e3c25d0fed662124c2329b5be71423
Author: Tomas Hlavaty <tom@logand.com>
Date:   Tue, 18 Jan 2011 21:58:56 +0100

Makefile clean up

Diffstat:
MMakefile | 18++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,17 +1,15 @@ -all: w3mail dirpop3d +CFLAGS=-Wall -std=c99 -pedantic -D_XOPEN_SOURCE=600 -w3mail: utils.o w3mail.c - $(CC) -Wall -std=c99 -pedantic -D_XOPEN_SOURCE=600 -o w3mail w3mail.c utils.o +all: w3mail dirpop3d -#dirpop3d: dirpop3d.vala -# valac -g --pkg gio-2.0 --pkg gee-1.0 dirpop3d.vala +.c.o: + $(CC) $(CFLAGS) -c $< -dirpop3d: utils.o dirpop3d.c -# dirpop3d.vala - $(CC) -Wall -std=c99 -pedantic -D_XOPEN_SOURCE=600 -o dirpop3d dirpop3d.c utils.o +w3mail: w3mail.o utils.o + $(CC) -o w3mail w3mail.o utils.o -utils.o: utils.h utils.c - $(CC) -Wall -std=c99 -pedantic -D_XOPEN_SOURCE=600 -c -o utils.o utils.c +dirpop3d: dirpop3d.o utils.o + $(CC) -o dirpop3d dirpop3d.o utils.o clean: rm -f *~ *.o w3mail dirpop3d