Added convert.c and convert.h to Makefile.

This commit is contained in:
Rob Pearce 2005-10-25 06:47:31 +00:00
parent bdc798c0fa
commit 8e74625355
2 changed files with 4 additions and 4 deletions

View File

@ -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/

View File

@ -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}