Check-in [9eaac3c869]

Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:9eaac3c869fac7016553191d51a377dde9ca1c7b
Date: 2009-06-14 13:49:58
User: stephan
Comment:corrected debug flags (removed in last commit)
Tags And Properties
Changes
hide diffs unified diffs patch

Changes to Makefile

Old (d909e6c8ef1ce09a) New (12c2da9214389ceb)
1 #!/usr/bin/make -f 1 #!/usr/bin/make -f
2 # Requires GNU Make 3.80+! 2 # Requires GNU Make 3.80+!
3 default: libs-only 3 default: libs-only
4 default: all 4 default: all
5 5
5 hidden lines
11 11
12 ######################################################################## 12 ########################################################################
13 # WHEFS_ENABLE_DEBUG=1 turns on the optional debuggering routines in 13 # WHEFS_ENABLE_DEBUG=1 turns on the optional debuggering routines in
14 # libwhefs. If set to 0 then they are effectively compiled out. 14 # libwhefs. If set to 0 then they are effectively compiled out.
15 WHEFS_ENABLE_DEBUG := 1 15 WHEFS_ENABLE_DEBUG := 1
> 16 ifeq (1,$(WHEFS_ENABLE_DEBUG))
> 17 CPPFLAGS += -UNDEBUG -DDEBUG=1
> 18 CXXFLAGS += -g
> 19 else
> 20 CPPFLAGS += -UDEBUG -DNDEBUG=1
> 21 endif
16 22
17 ifeq (1,$(TCC)) 23 ifeq (1,$(TCC))
18 # If you have (and want to use) tcc, try this: 24 # If you have (and want to use) tcc, try this:
19 CC := tcc 25 CC := tcc
20 CXX := tcc 26 CXX := tcc
402 hidden lines
423 none: 429 none:
424 430
425 my.whefs: whefs-mkfs-for-files.sh whefs-mkfs whefs-ls whefs-cp $(wildcard *.c *.h) $(PACKAGE.MAKEFILE) 431 my.whefs: whefs-mkfs-for-files.sh whefs-mkfs whefs-ls whefs-cp $(wildcard *.c *.h) $(PACKAGE.MAKEFILE)
426 bash ./whefs-mkfs-for-files.sh $@ *.c *.h </dev/null 432 bash ./whefs-mkfs-for-files.sh $@ *.c *.h </dev/null
427 CLEAN_FILES += my.whefs 433 CLEAN_FILES += my.whefs