main() is now always in the program. Also added a
    macro that doesn't set main at all so that users
    can have their own.
  The isosurf sample doesn't work anymore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			541 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			541 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #
 | |
| # File:		makefile.unx
 | |
| # Author:	Julian Smart
 | |
| # Created:	1998
 | |
| # Updated:	
 | |
| # Copyright:	(c) 1998 Julian Smart
 | |
| #
 | |
| # "%W% %G%"
 | |
| #
 | |
| # Makefile for isosurf example (UNIX).
 | |
| 
 | |
| PROGRAM=isosurf
 | |
| 
 | |
| CC = gcc
 | |
| 
 | |
| OBJECTS = $(PROGRAM).o
 | |
| 
 | |
| # implementation
 | |
| 
 | |
| .SUFFIXES:	.o .cpp
 | |
| 
 | |
| .cpp.o :
 | |
| 	$(CC) -c `wx-config --cflags` -o $@ $<
 | |
| 
 | |
| all: $(PROGRAM) isosurf.dat
 | |
| 
 | |
| $(PROGRAM):	$(OBJECTS)
 | |
| 	$(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` -lwx_gtk_gl -lMesaGL -lMesaGLU
 | |
| 
 | |
| clean: 
 | |
| 	rm -f *.o $(PROGRAM)
 | |
| 
 | |
| isosurf.dat:	isosurf.dat.gz
 | |
| 	gzip -c -d isosurf.dat.gz > isosurf.dat
 | |
| 
 |