15 lines
727 B
Makefile
Executable File
15 lines
727 B
Makefile
Executable File
netmapr: netmapr.c constants.h netmapr.h Makefile
|
|
gcc -Wall -g netmapr.c savepng.c -onetmapr `sdl-config --libs --cflags` -L/usr/X11R6/lib -lX11 -lpthread -lSDL_ttf -lpng
|
|
ln -f netmapr netmapr-viewer
|
|
|
|
install: netmapr
|
|
install -D -o root -m 755 netmapr /usr/local/bin/netmapr
|
|
ln -f /usr/local/bin/netmapr /usr/local/bin/netmapr-viewer
|
|
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
|
|
|
|
clean: netmapr convert netmapr-viewer
|
|
rm -f netmapr convert netmapr-viewer
|