X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89b193cb4312412f676a0aa779861e3352d9946f..6e204d57c44bdaaace6b0a45409c00a2af43d8ab:/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)