source: trunk/Makefile

Last change on this file was 4, checked in by willem, 9 years ago

willem

File size: 374 bytes
Line 
1CXX = g++
2CXXFLAGS = -g -O3 -Wall
3
4OBJS = disparm.o disparmmain.o token.o shellenv.o clocks.o
5SRCS = $(OBJS:.o=.cpp)
6
7all: disparmcmd
8
9disparmcmd: $(OBJS)
10        $(CXX) -o $@ $(CXXFLAGS) $(OBJS)
11
12%.o:    %.cpp
13        $(CXX) $(CXXFLAGS) -c -o $@ $<
14
15clean:
16        rm -f disparmcmd $(OBJS) core .depend
17
18include .depend
19
20dep .depend:
21        $(CXX) $(CXXFLAGS) -M $(SRCS) > .depend
22
23test:
24        echo $(SRCS)
Note: See TracBrowser for help on using the repository browser.