Netmake Release

P

Profetas

Hi,

Sorry, if this is off topic, but I couldn't find a better place to
announce the first release of NetMake.

NetMake is an extension of GNU Make, it allows multiple server
compilation.

That means ,you can have your source files spread in different servers and
the NetMake will download the files (if it doesn't exist in the current
server , or if it's been modified) and proceed to the compilation.

The only syntax change over the GNU Make is the server specification,
where a @ is used, for example

Http:

@http://www.example1.com/file.c
@www.example1.com/file.c

Both rules, specified above will work correctly.

FTP server:

@ftp.user.pass.server/glob.c

an example of a makefile using netmake rules.

CC = gcc -ansi -pedantic
OBJS = read.o bui.o run.o main.o par.o prn.o
SRC = main.c read.c prn.c run.c par.c bui.c

prog: ${OBJS}
${CC} -o prog ${CFLAGS} ${OBJS} -lm

prn.o: prn.c prn.h glob.h
${CC} -c prn.c

read.o: @http://www.example1.com/read.c read.h glob.h
${CC} -c read.c

run.o: run.c run.h glob.h
${CC} -c run.c
par.o: par.c par.h glob.h
${CC} -c par.c

bui.o: @ftp.username.pass.cs3.brookes.ac.uk/bui.c bui.h glob.h
${CC} -c bui.c

main.o: @ftp.username.pass.cs3.brookes.ac.uk/main.c main.h glob.h
${CC} -c main.c
clean:
rm -f ${OBJS}
rm prog
rm main.c read.c bui.c
@echo "Deleted!"


Netmake can be downloaded for free at

http://sourceforge.net/project/showfiles.php?group_id=124976
or
http://archive.hakt.tk/code/netmake/


Any suggestion or critiques can be sent to my email at
profetas {at} gmail {dot} com

Thanks Lucas S Silva
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,280
Latest member
BGBBrock56

Latest Threads

Top