File: makefile

package info (click to toggle)
wxwidgets2.6 2.6.3.2.1.5
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 83,220 kB
  • ctags: 130,941
  • sloc: cpp: 820,041; ansic: 113,030; python: 107,485; makefile: 42,996; sh: 10,305; lex: 194; yacc: 128; xml: 95; pascal: 74
file content (24 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CC = gcc

PROGRAM = wxIE

CFLAGS = -I/m/snowball/icicle/gswd/devenv/include -D__WXMOTIF__
LFLAGS = -L/m/snowball/icicle/devenv/lib

# implementation

.SUFFIXES:      .o .cpp

SOURCES:sh= /bin/ls *.cpp

OBJECTS = $(SOURCES:.cpp=.o)

.cpp.o :
	$(CC) -c $(CFLAGS) `wx-config --cflags` -o $@ $<

$(PROGRAM): $(OBJECTS)
	$(CC) -o $(PROGRAM) $(OBJECTS) $(LFLAGS) `wx-config --libs`

clean:
	rm -f *.o $(PROGRAM)