 13cc8cb519
			
		
	
	
		13cc8cb519
		
	
	
	
	
		
			
			[Add] Completed all window code [Linux and Windows], and setup a small application. [Change] Renamed GLXWindow to LGLXWindow, as GLXWindow collided with GLXWindow() in glxext.h [Add] Makefiles added to project.
		
			
				
	
	
		
			25 lines
		
	
	
		
			728 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			728 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| CC = g++
 | |
| CFLAGS = -ansi -Wall -g
 | |
| LDADD = -lGL -lGLU  -lglut -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -ltinyxml
 | |
| LDADDSTATIC = -Wl,-Bstatic -lSDL -lSDL_image -lopenal -lalut -L/usr/X11 -Wl,-Bdynamic -lasound -lartsc -lesd -lpulse -lpulse-simple -ldirectfb -lvga -laa -lcaca -ljpeg -ltiff -
 | |
| 
 | |
| .PHONY: default static all clean
 | |
| 
 | |
| default: all
 | |
| 
 | |
| all:
 | |
| 	$(MAKE) -C ../src/Main
 | |
| 	
 | |
| 	$(CC) $(CFLAGS) -o LibD ../src/Main/main.cpp ../src/Main/*.o $(LDADD)
 | |
| 
 | |
| static:
 | |
| 	@echo -e "\033[1;31mThis is an experimental build, if it does not work, don't complain...\033[0m"
 | |
| 	@sleep 1
 | |
| 	$(MAKE) -C ../src/Main/
 | |
| 
 | |
| 	$(CC) $(CFLAGS) -o build/LibD-static ../src/Main/main.cpp ../src/Main/*.o $(LDADDSTATIC)
 | |
| 
 | |
| clean:
 | |
| 	$(MAKE) -C ../src/Main/	       clean
 | |
| 	rm -f LibD
 |