2005-10-25 16:35:55 +10:00
|
|
|
netmapr: netmapr.c constants.h netmapr.h Makefile
|
2009-07-28 12:15:46 +10:00
|
|
|
gcc -Wall -O2 -g netmapr.c savepng.c -onetmapr `sdl-config --libs --cflags` -L/usr/X11R6/lib -lX11 -lpthread -lSDL_ttf -lpng
|
2005-10-30 00:23:10 +10:00
|
|
|
ln -f netmapr netmapr-viewer
|
2005-10-25 16:35:55 +10:00
|
|
|
|
|
|
|
install: netmapr
|
2009-07-28 12:15:46 +10:00
|
|
|
install -D -o root -m 755 netmapr /usr/local/bin/netmapr
|
2005-10-30 00:23:10 +10:00
|
|
|
ln -f /usr/local/bin/netmapr /usr/local/bin/netmapr-viewer
|
2009-07-28 12:15:46 +10:00
|
|
|
install -D -o root -m 644 buttons.dat /usr/local/share/netmapr/buttons.dat
|
|
|
|
install -D -o root -m 644 objects.dat /usr/local/share/netmapr/objects.dat
|
|
|
|
install -D -o root -m 644 verdana.ttf /usr/local/share/netmapr/verdana.ttf
|
|
|
|
install -D -o root -m 644 icon.bmp /usr/local/share/netmapr/icon.bmp
|
2005-11-15 14:45:04 +11:00
|
|
|
|
|
|
|
clean: netmapr convert netmapr-viewer
|
|
|
|
rm -f netmapr convert netmapr-viewer
|