-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
32 lines (20 loc) · 851 Bytes
/
makefile
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
#############################################################################
# Name: makefile for Testdc
# Author: Marco Cavallini <m.cavallini AT koansoftware.com>
# Copyright: (C)2004-2006 Copyright by Koan s.a.s. - www.koansoftware.com
# Licence: KWIC License http://www.koansoftware.com/kwic/kwic-license.htm
#############################################################################
CC = gcc
PROGRAM = Testdc
CFLAGS = -I/m/snowball/icicle/gswd/devenv/include -D__WXGTK__
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)