X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89b193cb4312412f676a0aa779861e3352d9946f..c8f144761c1e637f27a838f22da5c3a9f6c27fd4:/samples/thread/makefile.unx?ds=sidebyside diff --git a/samples/thread/makefile.unx b/samples/thread/makefile.unx index 14a225e23c..43224c1264 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 +CC = gcc -OBJECTS=$(PROGRAM).o +PROGRAM = thread -include ../../src/makeprog.env +OBJECTS = $(PROGRAM).o +# implementation + +.SUFFIXES: .o .cpp + +.cpp.o : + $(CC) -c `wx-config --cflags` -o $@ $< + +all: $(PROGRAM) + +$(PROGRAM): $(OBJECTS) + $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` + +clean: + rm -f *.o $(PROGRAM)