1 # astrocam Makefile v. 2.0 2 # Version: Mar-29-2007 3 # 4 # See LICENSE-file for license. 5 # 6 # (C) 2001-2009 by Steffen Wendzel 7 # 8 # contact: steffen (at) ploetner-it.de 9 # http://www.wendzel.de 10 11 CC=gcc 12 SOURCEFILES=astrocam.c 13 CFLAGS=-O2 -Wall -Wshadow 14 RM=rm -f 15 #SECCHECK=-g -lefence -W 16 17 all : astrocam 18 19 astrocam : $(SOURCEFILES) 20 @make clean 21 $(CC) $(CFLAGS) -o astrocam -DMETAVERSION="2.7" -DVERSION="\"2.7.6\"" -DPATCHLEVEL="\"p0\"" astrocam.c $(SECCHECK) 22 23 install : ./astrocam 24 @echo "executing install.sh" 25 /bin/bash ./install.sh 26 27 count : 28 wc -l $(SOURCEFILES) *.php *.pl *.sh | sort -bg 29 30 clean : 31 rm -f astrocam *~ install *.core 32