Narthex

Modular dictionary generator
git clone git://mcdim.xyz/Narthex.git
Log | Files | Refs | README | LICENSE

Makefile (1605B)


      1 # Narthex Makefile
      2 # GNU GPL v3.0
      3 
      4 CC=gcc
      5 MD=/usr/share/man/man1/
      6 
      7 #all: inc/nin.c enhance/nhan.c leet/nleet.c com/ncom.c rev/nrev.sh
      8 #	$(CC) enhance/nhan.c -o nhance
      9 #	$(CC) inc/nin.c -o ninc
     10 #	$(CC) leet/nleet.c -o nleet
     11 #	$(CC) com/ncom.c -o ncom
     12 
     13 install: inc/nin.c enhance/nhan.c leet/nleet.c com/ncom.c clean/nclean.c app/napp.c rev/nrev.sh wiz/nwiz.sh inc/ninc.1 enhance/nhance.1 rev/nrev.1 leet/nleet.1 com/ncom.1 clean/nclean.1 app/napp.1
     14 	$(CC) enhance/nhan.c -o nhance
     15 	$(CC) inc/nin.c -o ninc
     16 	$(CC) leet/nleet.c -o nleet
     17 	$(CC) com/ncom.c -o ncom
     18 	$(CC) clean/nclean.c -o nclean
     19 	$(CC) app/napp.c -o napp
     20 	$(CC) gen/ngen.c -o ngen
     21 	sudo mv nhance /bin
     22 	sudo mv ninc /bin
     23 	sudo mv nleet /bin
     24 	sudo mv ncom /bin
     25 	sudo mv nclean /bin
     26 	sudo mv napp /bin
     27 	sudo mv ngen /bin
     28 	sudo cp rev/nrev.sh /bin/nrev
     29 	sudo cp wiz/nwiz.sh /bin/nwiz
     30 	mkdir -p /var/lib/narthex/
     31 	cp wiz/elder.txt /var/lib/narthex/
     32 	sudo cp enhance/nhance.1 $(MD)
     33 	sudo cp inc/ninc.1 $(MD)
     34 	sudo cp leet/nleet.1 $(MD)
     35 	sudo cp com/ncom.1 $(MD)
     36 	sudo cp clean/nclean.1 $(MD)
     37 	sudo cp app/napp.1 $(MD)
     38 	sudo cp rev/nrev.1 $(MD)
     39 	sudo cp gen/ngen.1 $(MD)
     40 	sudo mandb
     41 
     42 uninstall: /bin/ninc /bin/nhance /bin/nrev /bin/nleet /bin/ncom /bin/nclean /bin/napp /bin/nwiz /bin/ngen $(MD)ninc.1 $(MD)nhance.1 $(MD)nrev.1 $(MD)nleet.1 $(MD)ncom.1 $(MD)nclean.1 $(MD)napp.1 $(MD)ngen.1
     43 	rm /bin/ninc $(MD)ninc.1
     44 	rm /bin/nhance $(MD)nhance.1
     45 	rm /bin/nleet $(MD)nleet.1
     46 	rm /bin/nrev $(MD)nrev.1
     47 	rm /bin/ncom $(MD)ncom.1
     48 	rm /bin/nclean $(MD)nclean.1
     49 	rm /bin/napp $(MD)napp.1
     50 	rm /bin/ngen $(MD)ngen.1
     51 	rm /bin/nwiz
     52 	rm -r /var/lib/narthex/