Added convert.c and convert.h to Makefile.
This commit is contained in:
parent
bdc798c0fa
commit
8e74625355
6
Makefile
6
Makefile
|
@ -1,5 +1,5 @@
|
||||||
netmapr: netmapr.c constants.h netmapr.h Makefile
|
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
|
install: netmapr
|
||||||
gcc -Wall -g convert.c -I/usr/local/include -oconvert -lmingw32 -L/usr/local/lib -lSDLmain -lSDL
|
cp -f netmapr /usr/local/bin ; [ ! -d ~/.netmapr ] && mkdir ~/.netmapr ; cp -f *.dat ~/.netmapr/
|
||||||
|
|
2
dist.sh
2
dist.sh
|
@ -5,7 +5,7 @@ FULLNAME=netmapr-${VERSION}
|
||||||
TARFILE=${FULLNAME}.tar.gz
|
TARFILE=${FULLNAME}.tar.gz
|
||||||
|
|
||||||
mkdir ${FULLNAME}
|
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}
|
tar zcvf ${TARFILE} ${FULLNAME}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue