# This makefile should work under most POSIX OSes (at least FreeBSD)

all: fnteditfs

fnteditfs: fnteditfs.o
	gcc -o fnteditfs fnteditfs.o -lcurses
	strip fnteditfs

install: fnteditfs fnteditfs.1
	install  -o root -g wheel -m 555 fnteditfs /usr/local/bin
	install  -o root -g wheel -m 444 fnteditfs.1 /usr/local/man/man1

clean:
	rm -f *.o fnteditfs


syntax highlighted by Code2HTML, v. 0.9.1