Changeset 86 for ttyvaders


Ignore:
Timestamp:
Nov 9, 2003, 2:02:34 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • libee/Makefile.am, test/Makefile.am: + Added more compiler warning flags.
  • test/demo.c: + Small demo for libee.
Location:
ttyvaders/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/libee/Makefile.am

    r80 r86  
     1###############################################################################
     2# Automake targets and declarations for libee
     3###############################################################################
     4
     5AM_CFLAGS = -g -O2 -fno-strength-reduce -fomit-frame-pointer
     6
     7# Code qui fait des warnings == code de porc == deux baffes dans ta gueule
     8AM_CFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs
     9
    110if USE_SLANG
    211CPPFLAGS_slang = -DUSE_SLANG
  • ttyvaders/trunk/test/Makefile.am

    r78 r86  
     1###############################################################################
     2# Automake targets and declarations for libee tests
     3###############################################################################
     4
     5AM_CFLAGS = -g -O2 -fno-strength-reduce -fomit-frame-pointer
     6
     7# Code qui fait des warnings == code de porc == deux baffes dans ta gueule
     8AM_CFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs
     9
     10if USE_SLANG
     11CPPFLAGS_slang = -DUSE_SLANG
     12LDFLAGS_slang = -lslang
     13endif
     14if USE_NCURSES
     15CPPFLAGS_ncurses = -DUSE_NCURSES
     16LDFLAGS_ncurses = -lncurses
     17endif
     18
     19bin_PROGRAMS = demo
     20demo_SOURCES = demo.c
     21
     22demo_CPPFLAGS = -I../libee $(CPPFLAGS_slang) $(CPPFLAGS_ncurses)
     23demo_LDADD = ../libee/libee.a $(LDFLAGS_slang) $(LDFLAGS_ncurses)
     24
Note: See TracChangeset for help on using the changeset viewer.