f6656ccb14
it must be done in user makefiles too in changes.txt git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
24 lines
333 B
Plaintext
24 lines
333 B
Plaintext
# Purpose: makefile for event example (Unix)
|
|
# Created: 2001-01-31
|
|
|
|
CC = gcc
|
|
|
|
PROGRAM = event
|
|
|
|
OBJECTS = $(PROGRAM).o
|
|
|
|
# implementation
|
|
|
|
.SUFFIXES: .o .cpp
|
|
|
|
.cpp.o :
|
|
$(CC) -c `wx-config --cxxflags` -o $@ $<
|
|
|
|
all: $(PROGRAM)
|
|
|
|
$(PROGRAM): $(OBJECTS)
|
|
$(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
|
|
|
|
clean:
|
|
rm -f *.o $(PROGRAM)
|