All pastes #86564 Raw Edit

Mine

public text v1 · immutable
·published 2006-07-13 00:31 UTC
rendered paste body
g++ = g++ -Wall -ansi
incdir = ./

base_compile_options = -I$(incdir)
compile_options = $(base_compile_options) -c -O3

libSources = tournament.cpp
libObjects = tournament.o

all:

	@echo
	@echo  		libtournament Build    
	@echo
	@echo		Building library
	@echo		Compiling

	$(g++) $(libSources) $(compile_options)
	rm *.o

	@echo		Building static lib
	ar rs libtournament.a $(libObjects)
	@echo      libtournament has been build, have fun
	@echo 

clean:

	@echo Cleaning up...
	@rm *.o
	@rm *.a
	@echo Done.