]> git.saurik.com Git - wxWidgets.git/blame - samples/dragimag/makefile.unx
trying to add wxBase project file from Unix
[wxWidgets.git] / samples / dragimag / makefile.unx
CommitLineData
11e2dfd3
RL
1# Purpose: makefile for dragimag example (Unix)
2# Created: 2000-03-15
68be9f09
JS
3
4CC = gcc
5
11e2dfd3 6PROGRAM = dragimag
68be9f09
JS
7
8OBJECTS = $(PROGRAM).o
9
10# implementation
11
12.SUFFIXES: .o .cpp
13
14.cpp.o :
15 $(CC) -c `wx-config --cflags` -o $@ $<
16
17all: $(PROGRAM)
18
19$(PROGRAM): $(OBJECTS)
20 $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
21
11e2dfd3 22clean:
68be9f09 23 rm -f *.o $(PROGRAM)