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