]> git.saurik.com Git - wxWidgets.git/blame - samples/opengl/cube/makefile.unx
Added VC++ project files (seems logical)
[wxWidgets.git] / samples / opengl / cube / makefile.unx
CommitLineData
8b089c5e
JS
1#
2# File: makefile.unx
3# Author: Julian Smart
4# Created: 1998
5# Updated:
6# Copyright: (c) 1998 Julian Smart
7#
8# "%W% %G%"
9#
10# Makefile for cube example (UNIX).
11
12PROGRAM=cube
13
c661ecca 14CC = gcc
8b089c5e 15
c661ecca 16OBJECTS = $(PROGRAM).o
8b089c5e 17
c661ecca 18# implementation
8b089c5e 19
c661ecca 20.SUFFIXES: .o .cpp
8b089c5e 21
c661ecca
RR
22.cpp.o :
23 $(CC) -c `wx-config --cflags` -o $@ $<
24
25all: $(PROGRAM)
26
27$(PROGRAM): $(OBJECTS)
28 $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` -lwx_gtk_gl -lMesaGL -lMesaGLU
29
30clean:
31 rm -f *.o $(PROGRAM)