From 8e7462535551b907c890f61de202a32e8c06f0c5 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Tue, 25 Oct 2005 06:47:31 +0000 Subject: [PATCH] Added convert.c and convert.h to Makefile. --- Makefile | 6 +++--- dist.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 12447bd..3f3c2d5 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ netmapr: netmapr.c constants.h netmapr.h Makefile - gcc -Wall -g netmapr.c -I/usr/local/include -onetmapr -lmingw32 -L/usr/local/lib -lSDLmain -lSDL -mwindows + gcc -Wall -g netmapr.c -onetmapr `sdl-config --libs --cflags` -L/usr/X11R6/lib -lX11 -lpthread -lXext -convert: convert.c convert.h Makefile - gcc -Wall -g convert.c -I/usr/local/include -oconvert -lmingw32 -L/usr/local/lib -lSDLmain -lSDL +install: netmapr + cp -f netmapr /usr/local/bin ; [ ! -d ~/.netmapr ] && mkdir ~/.netmapr ; cp -f *.dat ~/.netmapr/ diff --git a/dist.sh b/dist.sh index bf261c0..d4fe9a7 100755 --- a/dist.sh +++ b/dist.sh @@ -5,7 +5,7 @@ FULLNAME=netmapr-${VERSION} TARFILE=${FULLNAME}.tar.gz mkdir ${FULLNAME} -cp Makefile Makefile.linux Makefile.freebsd Makefile.windows *.dat netmapr.c netmapr.h constants.h ${FULLNAME}/ +cp Makefile Makefile.linux Makefile.freebsd Makefile.windows *.dat netmapr.c netmapr.h constants.h convert.c convert.h ${FULLNAME}/ tar zcvf ${TARFILE} ${FULLNAME}