X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89b193cb4312412f676a0aa779861e3352d9946f..f1104df1338dcee773ae7d6363f17c4646878bb6:/samples/thread/makefile.unx diff --git a/samples/thread/makefile.unx b/samples/thread/makefile.unx index 14a225e23c..2604c437ae 100644 --- a/samples/thread/makefile.unx +++ b/samples/thread/makefile.unx @@ -1,17 +1,23 @@ -# -# File: makefile.unx -# Author: Julian Smart -# Created: 1998 -# Updated: -# Copyright: (c) 1998 Julian Smart -# -# "%W% %G%" -# -# Makefile for thread example (UNIX). +# Purpose: makefile for thread example (Unix) +# Created: 2000-03-15 -PROGRAM=test +CXX = $(shell wx-config --cxx) -OBJECTS=$(PROGRAM).o +PROGRAM = thread -include ../../src/makeprog.env +OBJECTS = $(PROGRAM).o +# implementation + +.SUFFIXES: .o .cpp + +.cpp.o : + $(CXX) -c `wx-config --cxxflags` -o $@ $< + +all: $(PROGRAM) + +$(PROGRAM): $(OBJECTS) + $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` + +clean: + rm -f *.o $(PROGRAM)