| version 1.1, 2003/07/24 17:50:08 |
version 1.2, 2005/01/16 14:33:28 |
|
|
| # Author: Lubomir Host 'rajo' <rajo AT host.sk> |
# Author: Lubomir Host 'rajo' <rajo AT host.sk> |
| # |
# |
| |
|
| # $Platon$ |
# $Platon: doc/diplomova-praca-rajo/scripts/Makefile,v 1.1 2003/07/24 17:50:08 rajo Exp $ |
| |
|
| PACKAGE = hotGas |
PACKAGE = hotGas |
| VERSION = 1.0 |
VERSION = 1.0 |
|
|
| #DEBUG_FLAGS = -g -ggdb -DDEBUG |
#DEBUG_FLAGS = -g -ggdb -DDEBUG |
| CFLAGS = -Wall -Wshadow $(DEBUG_FLAGS) |
CFLAGS = -Wall -Wshadow $(DEBUG_FLAGS) |
| CPPFLAGS = |
CPPFLAGS = |
| LDFLAGS = -L$(HOME)/dipl/lib -L$(HOME)/install/lib |
LDFLAGS = -L./lib |
| DEFS = |
DEFS = |
| INCLUDES = -I$(srcdir) -I$(top_builddir) -I$(HOME)/dipl/include -I$(HOME)/install/include |
INCLUDES = -I$(srcdir) -I$(top_builddir) -I./include |
| #LIBS = -lm -lcfg+ -lDiplomovka |
#LIBS = -lm -lcfg+ -lDiplomovka |
| LIBS = -lm -lcfg+ |
LIBS = -lm -lcfg+ |
| |
|
| Line 91 COMPILE := $(COMPILE) -DCOMPILE_STRING=" |
|
| Line 91 COMPILE := $(COMPILE) -DCOMPILE_STRING=" |
|
| |
|
| # }}} Programs |
# }}} Programs |
| |
|
| all: $(SOURCES) $(OBJECTS) $(PROGRAMS) |
all: include/platon/libcfg+.h $(SOURCES) $(OBJECTS) $(PROGRAMS) |
| |
|
| |
include/platon/libcfg+.h: libcfg+-0.6.2.tar.gz |
| |
tar xvzf libcfg+-0.6.2.tar.gz |
| |
here=`pwd`; cd libcfg+-0.6.2/ && ./configure --prefix=$$here && $(MAKE) install |
| |
|
| |
libcfg+-0.6.2.tar.gz: |
| |
@echo; echo "Library libcfg+ is needed for succesfull building" |
| |
@echo "Attempting to download from http://platon.sk website ..." |
| |
wget -nH -nd 'http://platon.sk/projects/download.php?id=57&force=1' |
| |
|
| |
|
| print-param: |
print-param: |
| @echo "COMPILE = $(COMPILE)" |
@echo "COMPILE = $(COMPILE)" |
| Line 134 $(SOURCE_SYMLINKS): $(BASE_SOURCE) |
|
| Line 144 $(SOURCE_SYMLINKS): $(BASE_SOURCE) |
|
| clean: |
clean: |
| -rm -rf *.o core* .deps/ |
-rm -rf *.o core* .deps/ |
| -rm -f $(SOURCE_SYMLINKS) $(BASE_SOURCE) |
-rm -f $(SOURCE_SYMLINKS) $(BASE_SOURCE) |
| |
-rm -rf libcfg+-0.6.2/ include/ lib/ man/ share/ |
| |
|
| dist: |
dist: |
| make -C ../ dist |
make -C ../ dist |