/[PAMELA software]/FCUtils/CmdLineParser/Makefile
ViewVC logotype

Contents of /FCUtils/CmdLineParser/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Wed May 7 10:33:14 2008 UTC (16 years, 7 months ago) by nikolas
Branch: MAIN, first
CVS Tags: v1r00, HEAD
Changes since 1.1: +0 -0 lines
 An usefull command line parser

1 DEBUG=-g
2 CC = g++
3 ALL_CFLAGS = -Wall -O6
4
5 CFLAGS= ${DEBUG} ${ALL_CFLAGS}
6 LDFLAGS=${DEBUG}
7
8 INCS =-Iinc
9 SRCS := $(wildcard src/*.cpp)
10 OBJSO = $(SRCS:.cpp=.o)
11
12 CPPFLAGS=${INCS}
13
14
15 example_update_mode: example_update_mode.cpp $(OBJSO)
16 example_define_mode: example_define_mode.cpp $(OBJSO)
17
18 libCmdLineParser.a: lib/libCmdLineParser.a(${OBJSO})
19 libCmdLineParser.so: ${OBJSO}
20 g++ --shared $^ -o lib/$@
21
22 .PHONY : clean
23 clean:
24 rm -f *.o *.exe ${OBJS0}
25 info:
26 @echo ${SRCS}
27 @echo ${OBJS0}

  ViewVC Help
Powered by ViewVC 1.1.23