Makefile BSD
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
Overview
BSD makefile 내용 정리.
Conditional Statements(#if, #ifndef etc..)
.if $(VER) >= 2.4 TAG = 2.4_current .elif $(VER) == 2.3 TAG = 2.3_release .else TAG = 2.4_stable .endif
exists(<arg>)
clean:
    -rm -f *.o *.core
.if exists(tmp)
    -rm tmp/*.o
.endif
See also
- https://wiki.netbsd.org/bsd_make/ - BSD make
 - http://www.khmere.com/freebsd_book/html/ch01.html - FreeBSD System Programming Chapter 1