File: Makefile

package info (click to toggle)
explorer 0.72-2.1
  • links: PTS
  • area: contrib
  • in suites: hamm, slink
  • size: 1,556 kB
  • ctags: 1,203
  • sloc: cpp: 10,226; makefile: 384; sh: 206; ansic: 106; lex: 95; csh: 6
file content (56 lines) | stat: -rw-r--r-- 1,122 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Generated automatically from Makefile.in by configure.

# vi:sw=8:ts=8

INCDIR		= -I/usr/local/qt/include -Iinclude -I. -I$(EXPLOREDIR)/include
LIBS		= -L../src -lX11 -lexplorer -lqt  -L/usr/local/qt/lib -lSM -lICE 
CXXFLAGS	= $(INCDIR) -g -O2  -I/usr/X11R6/include
LFLAGS		= -L/usr/X11R6/lib $(LIBS)
CXX		= c++
MOC		= /usr/local/qt/bin/moc
SHELL		= /bin/sh

#######	Implicit rules

.SUFFIXES: .cpp

.cpp.o: 
	$(CXX) -c $(CXXFLAGS) $<

#######	Files

SRCS1		= main_run.cpp
OBJS1		= main_run.o
SRCS2		= main_dlg.cpp
OBJS2		= main_dlg.o
HEADERS		= run.h
METAOBJS	= mrun.cpp
TARGET1		= run
TARGET2		= ewidget


#######	Build rules

all:    $(OBJS1) $(OBJS2) $(METAOBJS)
	$(CXX) $(CXXFLAGS) $(OBJS1) $(METAOBJS) -o $(TARGET1) $(LFLAGS)
	$(CXX) $(CXXFLAGS) $(OBJS2) -o $(TARGET2) $(LFLAGS)
	
depend: $(SRCMETA)
	@makedepend -I$(INCDIR) $(SOURCES) $(SRCMETA) 2> /dev/null

showfiles:
	@echo $(SOURCES) $(HEADERS) Makefile

clean:  
	-rm core *.core *.*~ *~ *.o $(OBJS) $(METAOBJS) $(TARGET1) $(TARGET2)


$(METAOBJS) : $(HEADERS)
	$(MOC) $(HEADERS) -o $(METAOBJS)


# DO NOT DELETE THIS LINE -- make depend depends on it.