Rename and add installation target.
This commit is contained in:
		
							parent
							
								
									164cfa83c2
								
							
						
					
					
						commit
						759aa9b98d
					
				
					 3 changed files with 35 additions and 12 deletions
				
			
		
							
								
								
									
										20
									
								
								src/Makefile
									
										
									
									
									
								
							
							
						
						
									
										20
									
								
								src/Makefile
									
										
									
									
									
								
							|  | @ -27,11 +27,11 @@ | |||
| default: imports | ||||
| 
 | ||||
| .PHONY: static | ||||
| static: ../bbstool | ||||
| static: ../hackerbase | ||||
| 
 | ||||
| CSC=csc | ||||
| 
 | ||||
| BBSTOOL-DEPS=bbstool.scm testing.import.scm listing.import.scm		\
 | ||||
| HACKERBASE-DEPS=hackerbase.scm testing.import.scm listing.import.scm		\
 | ||||
| 	dictionary.import.scm month.import.scm period.import.scm	\
 | ||||
| 	ansi.import.scm command-line.import.scm				\
 | ||||
| 	members-base.import.scm primes.import.scm			\
 | ||||
|  | @ -47,7 +47,7 @@ BBSTOOL-DEPS=bbstool.scm testing.import.scm listing.import.scm		\ | |||
| 	util-string.import.scm util-io.import.scm			\
 | ||||
| 	util-list.import.scm util-parser.import.scm texts.import.scm | ||||
| 
 | ||||
| BBSTOOL-OBJS=bbstool.o testing.o listing.o month.o period.o ansi.o	\
 | ||||
| HACKERBASE-OBJS=hackerbase.o testing.o listing.o month.o period.o ansi.o	\
 | ||||
| 	 dictionary.o command-line.o members-base.o primes.o		\
 | ||||
| 	 member-record.o configuration.o progress.o table.o cards.o	\
 | ||||
| 	 members-print.o member-fees.o members-dir.o util-csv.o		\
 | ||||
|  | @ -57,14 +57,18 @@ BBSTOOL-OBJS=bbstool.o testing.o listing.o month.o period.o ansi.o	\ | |||
| 	 util-list.o util-parser.o texts.o | ||||
| 
 | ||||
| .PHONY: imports | ||||
| imports: $(BBSTOOL-DEPS) | ||||
| imports: $(HACKERBASE-DEPS) | ||||
| 
 | ||||
| ../bbstool: $(BBSTOOL-OBJS) | ||||
| 	$(CSC) -static -o $@ $(BBSTOOL-OBJS) | ||||
| ../hackerbase: $(HACKERBASE-OBJS) | ||||
| 	$(CSC) -static -o $@ $(HACKERBASE-OBJS) | ||||
| 
 | ||||
| .PHONY: clean | ||||
| clean: | ||||
| 	rm -f *.c *.link *.o *.import.scm ../bbstool | ||||
| 	rm -f *.c *.link *.o *.import.scm ../hackerbase | ||||
| 
 | ||||
| .PHONY: install | ||||
| install: static | ||||
| 	install -m 0755 ../hackerbase /usr/local/bin/ | ||||
| 
 | ||||
| ################################################################
 | ||||
| # Module static and shared object and import source compilation
 | ||||
|  | @ -79,7 +83,7 @@ clean: | |||
| ################################################################
 | ||||
| # Main program
 | ||||
| 
 | ||||
| bbstool.o: $(BBSTOOL-DEPS) | ||||
| hackerbase.o: $(HACKERBASE-DEPS) | ||||
| 
 | ||||
| ################################################################
 | ||||
| # Modules
 | ||||
|  |  | |||
|  | @ -1,7 +1,26 @@ | |||
| ;; | ||||
| ;; bbstool.scm | ||||
| ;; hackerbase.scm | ||||
| ;; | ||||
| ;; Brmburo system - members management tool. | ||||
| ;; Hackerspace Members Database management system. | ||||
| ;; | ||||
| ;; ISC License | ||||
| ;; | ||||
| ;; Copyright 2023 Brmlab, z.s. | ||||
| ;; Dominik Pantůček <dominik.pantucek@trustica.cz> | ||||
| ;; | ||||
| ;; Permission to use, copy, modify, and/or distribute this software | ||||
| ;; for any purpose with or without fee is hereby granted, provided | ||||
| ;; that the above copyright notice and this permission notice appear | ||||
| ;; in all copies. | ||||
| ;;  | ||||
| ;; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL | ||||
| ;; WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED | ||||
| ;; WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE | ||||
| ;; AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR | ||||
| ;; CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS | ||||
| ;; OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, | ||||
| ;; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | ||||
| ;; CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||||
| ;; | ||||
| 
 | ||||
| (import (chicken repl) | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue