ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mintv/Makefile
Revision: 1.2
Committed: 2003-09-24T16:35:16Z (21 years, 2 months ago) by cebix
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
Log Message:
hide cursor inside video window

File Contents

# User Rev Content
1 cebix 1.1 # Config
2     CXX = c++
3 cebix 1.2 CFLAGS = -g -O2 -mcpu=i686
4 cebix 1.1 CPPFLAGS = -I/usr/X11R6/include
5     LDFLAGS = -g -L/usr/X11R6/lib
6     LIBS = -lX11 -lXext -lXt -lXv -lXaw
7     SHELL = /bin/sh
8    
9     ## Files
10     APP = mintv
11     SRCS = mintv.cpp
12    
13     ## Rules
14     all: $(APP)
15    
16     OBJS = $(addsuffix .o, $(basename $(SRCS)))
17     DEPS = $(addprefix .deps/, $(addsuffix .P, $(basename $(SRCS))))
18    
19     $(APP): .deps $(OBJS)
20     $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
21    
22     %.o: %.cpp
23     $(CXX) $(CFLAGS) $(CPPFLAGS) -Wp,-MD,.deps/$(*F).P -o $@ -c $<
24    
25     clean:
26     rm -f $(OBJS) $(APP)
27     rm -rf .libs
28    
29     distclean: clean
30     rm -rf .deps
31    
32     .deps:
33     @[ -d .deps ] || mkdir .deps >/dev/null 2>&1
34    
35     -include $(DEPS)